net.sf.springlayout.web.layout
Interface PanelForm

All Superinterfaces:
Form
All Known Implementing Classes:
LayoutPanelForm

public interface PanelForm
extends Form

Defines a single panel on a muli-panel page.

Author:
Rob Monie

Method Summary
 int getIndex()
          Gets the index of the panel to be used for ordering in the panel group list
 java.lang.String getPanelLabel()
          Retrieves the panelLabel for this LayoutPanelForm.
 java.lang.String getRedirectFormViewName()
          Retrieves the redirectFormViewName for this LayoutPanelForm.
 boolean isDisabled(javax.servlet.http.HttpServletRequest request)
          Check if panel is disabled.
 void setIndex(int index)
          Sets the index of the panel to be used for ordering in the panel group list
 void setPanelFormTabStateManager(PanelFormTabStateManager panelFormTabStateManager)
          Sets the panelTabStateManager for the LayoutPanelForm
 void setPanelLabel(java.lang.String panelLabel)
          Sets the panelLabel for this LayoutPanelForm.
 void setRedirectFormViewName(java.lang.String redirectFormViewName)
          Sets the redirectFormViewName for this LayoutPanelForm.
 
Methods inherited from interface net.sf.springlayout.web.layout.Form
getControllerBeanName, getErrors, getFieldDefinition, getFieldDefinitions, getFormAction, getFormName, hasErrors, setControllerBeanName, setFieldDefinitions, setFormAction, setFormName, validate
 

Method Detail

setIndex

void setIndex(int index)
Sets the index of the panel to be used for ordering in the panel group list

Parameters:
index -

getIndex

int getIndex()
Gets the index of the panel to be used for ordering in the panel group list

Returns:
the index of the panel

setPanelFormTabStateManager

void setPanelFormTabStateManager(PanelFormTabStateManager panelFormTabStateManager)
Sets the panelTabStateManager for the LayoutPanelForm

Parameters:
panelTabStateManager - that is injected

isDisabled

boolean isDisabled(javax.servlet.http.HttpServletRequest request)
Check if panel is disabled. If no panelTabStateManager is set then return true

Parameters:
request - the current HttpServletRequest
Returns:
true/false boolean based on panel being enabled

getRedirectFormViewName

java.lang.String getRedirectFormViewName()
Retrieves the redirectFormViewName for this LayoutPanelForm.

Returns:
Returns the redirectFormViewName for this LayoutPanelForm.

setRedirectFormViewName

void setRedirectFormViewName(java.lang.String redirectFormViewName)
Sets the redirectFormViewName for this LayoutPanelForm.

Parameters:
redirectFormViewName - Sets the redirectFormViewName for this LayoutPanelForm.

getPanelLabel

java.lang.String getPanelLabel()
Retrieves the panelLabel for this LayoutPanelForm.

Returns:
Returns the panelLabel for this LayoutPanelForm.

setPanelLabel

void setPanelLabel(java.lang.String panelLabel)
Sets the panelLabel for this LayoutPanelForm.

Parameters:
panelLabel - Sets the panelLabel for this LayoutPanelForm.


Copyright © 2005-2007 Spring Layout Team. All Rights Reserved.