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

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

public class OwSubNavigationView.OwSubTabInfo
extends Object
implements OwNavigationView.OwTabInfo

a navigation item


Field Summary
protected  boolean m_fDisabled
          flag to disable the menu item
protected  Object m_Image
          optional object to be submitted to the renderNavigationLink method.
protected  OwSubNavigationView m_navView
           
protected  Object m_ReasonObject
          optional object to be submitted to the event handler / view.
protected  String m_strName
          name of the tab to be displayed
protected  String m_strToolTip
          tooltip text for the 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
OwSubNavigationView.OwSubTabInfo(OwSubNavigationView navView_p, OwView view_p, String strTitle_p, String strImage_p, Object oReason_p, String strToolTip_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
 Object getImage()
          get userobject
 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_navView

protected OwSubNavigationView m_navView

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_strName

protected String m_strName
name of the tab to be displayed


m_Image

protected Object m_Image
optional object to be submitted to the renderNavigationLink method. e.g. an image path.


m_ReasonObject

protected Object m_ReasonObject
optional object to be submitted to the event handler / view.


m_fDisabled

protected boolean m_fDisabled
flag to disable the menu item


m_strToolTip

protected String m_strToolTip
tooltip text for the item

Constructor Detail

OwSubNavigationView.OwSubTabInfo

public OwSubNavigationView.OwSubTabInfo(OwSubNavigationView navView_p,
                                        OwView view_p,
                                        String strTitle_p,
                                        String strImage_p,
                                        Object oReason_p,
                                        String strToolTip_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

getImage

public Object getImage()
get userobject


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.