|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.wcf.tabbed.PanelSupport
Default implementation of a NodeHandler
for a panel of a
tabbed pane.
FormComponent
that contains the tabbed
element,
access to the TreeComponent
if one is present and access to
the TabbedHandler
that manages this panel
DOM
element.
Field Summary | |
protected FormComponent |
formComponent
|
protected org.w3c.dom.Element |
panelElement
|
protected TabbedHandler |
tabbedHandler
|
Constructor Summary | |
PanelSupport()
|
Method Summary | |
void |
destroy(javax.servlet.http.HttpSession session)
|
protected TreeHandler |
findTreeHandler(FormComponent fc)
searches for the firs <xtree ... |
FormComponent |
getFormComponent()
|
TabbedHandler |
getTabbedHandler()
|
void |
initialize(RequestContext context,
XmlComponent comp,
org.w3c.dom.Element element)
initializes the handler |
boolean |
isHidden()
|
void |
panelChanged(PanelChangeEvent event)
called when the user displays another panel |
void |
render(RequestContext context)
renders itself by changing the DOM Element |
void |
revert(RequestContext context)
format data for display |
void |
setHidden(RequestContext context,
boolean hidden)
|
boolean |
validate(RequestContext context)
parse user input |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected FormComponent formComponent
protected TabbedHandler tabbedHandler
protected org.w3c.dom.Element panelElement
Constructor Detail |
public PanelSupport()
Method Detail |
public void initialize(RequestContext context, XmlComponent comp, org.w3c.dom.Element element) throws java.lang.Exception
NodeHandler
initialize
in interface NodeHandler
context
- the current requestelement
- the element that this handler is responsible for
java.lang.Exception
public void destroy(javax.servlet.http.HttpSession session) throws java.lang.Exception
destroy
in interface NodeHandler
java.lang.Exception
protected TreeHandler findTreeHandler(FormComponent fc) throws org.jaxen.JaxenException
org.jaxen.JaxenException
public void render(RequestContext context) throws java.lang.Exception
NodeHandler
render
in interface NodeHandler
java.lang.Exception
public void panelChanged(PanelChangeEvent event)
panelChanged
in interface PanelChangeListener
public boolean validate(RequestContext context)
validate
in interface FormListener
public void revert(RequestContext context)
revert
in interface FormListener
public FormComponent getFormComponent()
public TabbedHandler getTabbedHandler()
public boolean isHidden()
public void setHidden(RequestContext context, boolean hidden)
hidden
- The hidden to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |