com.wewebu.ow.server.app
Class OwMainNavigationView.OwSubTabInfo

java.lang.Object
  extended by com.wewebu.ow.server.app.OwMainNavigationView.OwSubTabInfo
All Implemented Interfaces:
OwNavigationView.OwTabInfo
Enclosing class:
OwMainNavigationView

public class OwMainNavigationView.OwSubTabInfo
extends Object
implements OwNavigationView.OwTabInfo

a navigation item


Field Summary
protected  boolean m_fDisabled
          flag to disable the menu item
protected  OwEventTarget m_Target
          target to receive notification in case menu item was pressed
protected  OwView m_View
          View to add and view to be displayed in case menu item was pressed
 
Constructor Summary
OwMainNavigationView.OwSubTabInfo(OwView view_p)
           
 
Method Summary
 boolean getDelimiter()
          return true if item is a delimiter without function
 boolean getDisabled()
          get disabled flag
 String getEvent()
          event URL to navigate through the tabs NOTE: If a form is used, the EventURL contains '' primes.
 String getEventMethod()
          get event method
 OwEventTarget getEventTarget()
          get event target to be notified
 String getFormEventAction()
          get the action string to be inserted into a form, which will then sumit a request equal to the button index
 String getFormName()
          get formname
 String getIcon()
          get icon URL
 boolean getLastTab()
          return true if it is the last item
 String getName()
          get name
 boolean getPreviousPanelValid()
          check if previous item is validated
 Object getReasonObject()
          get reason object to be submitted in the event action method
 boolean getSelected()
          check if item is selected
 String getToolTip()
          get tooltip
 OwView getView()
          get view to be activated
 void setDisabled(boolean fDisabled_p)
          get disabled flag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_View

protected OwView m_View
View to add and view to be displayed in case menu item was pressed


m_Target

protected OwEventTarget m_Target
target to receive notification in case menu item was pressed


m_fDisabled

protected boolean m_fDisabled
flag to disable the menu item

Constructor Detail

OwMainNavigationView.OwSubTabInfo

public OwMainNavigationView.OwSubTabInfo(OwView view_p)
Method Detail

getPreviousPanelValid

public boolean getPreviousPanelValid()
check if previous item is validated

Specified by:
getPreviousPanelValid in interface OwNavigationView.OwTabInfo

getSelected

public boolean getSelected()
check if item is selected

Specified by:
getSelected in interface OwNavigationView.OwTabInfo

getEvent

public String getEvent()
event URL to navigate through the tabs NOTE: If a form is used, the EventURL contains '' primes. So you must enclose the URL in quotas "".

Specified by:
getEvent in interface OwNavigationView.OwTabInfo

getFormEventAction

public String getFormEventAction()
get the action string to be inserted into a form, which will then sumit a request equal to the button index

Specified by:
getFormEventAction in interface OwNavigationView.OwTabInfo
Returns:
String action URL

getLastTab

public boolean getLastTab()
return true if it is the last item

Specified by:
getLastTab in interface OwNavigationView.OwTabInfo

getDelimiter

public boolean getDelimiter()
return true if item is a delimiter without function

Specified by:
getDelimiter in interface OwNavigationView.OwTabInfo

getFormName

public String getFormName()
get formname

Specified by:
getFormName in interface OwNavigationView.OwTabInfo

getName

public String getName()
get name

Specified by:
getName in interface OwNavigationView.OwTabInfo

getEventMethod

public String getEventMethod()
get event method

Specified by:
getEventMethod in interface OwNavigationView.OwTabInfo

getToolTip

public String getToolTip()
get tooltip


getDisabled

public boolean getDisabled()
get disabled flag

Specified by:
getDisabled in interface OwNavigationView.OwTabInfo

setDisabled

public void setDisabled(boolean fDisabled_p)
get disabled flag

Specified by:
setDisabled in interface OwNavigationView.OwTabInfo

getIcon

public String getIcon()
               throws Exception
get icon URL

Throws:
Exception

getReasonObject

public Object getReasonObject()
get reason object to be submitted in the event action method

Specified by:
getReasonObject in interface OwNavigationView.OwTabInfo

getEventTarget

public OwEventTarget getEventTarget()
get event target to be notified

Specified by:
getEventTarget in interface OwNavigationView.OwTabInfo

getView

public OwView getView()
get view to be activated

Specified by:
getView in interface OwNavigationView.OwTabInfo


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.