|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.cms.ui.util.ToggleLinkFormListener
This class implements the FormProcessListener and FormSubmissionListener The primary function of this class is to reset the ToggleLink to a particular state after a form is processed or submitted.
| Field Summary | |
static String |
versionId
|
| Constructor Summary | |
ToggleLinkFormListener(com.arsdigita.bebop.ToggleLink l)
Default Constructor. |
|
ToggleLinkFormListener(com.arsdigita.bebop.ToggleLink l,
boolean isSelected)
Constructor. |
|
| Method Summary | |
boolean |
getIsSelected()
Returns whether the toggle link should be selected after the form is processed. |
void |
getIsSelected(boolean isSelected)
Set whether the toggle link should be selected after the form is processed. |
com.arsdigita.bebop.ToggleLink |
getToggleLink()
Returns the toggle link |
void |
process(com.arsdigita.bebop.event.FormSectionEvent e)
|
void |
submitted(com.arsdigita.bebop.event.FormSectionEvent e)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String versionId
| Constructor Detail |
public ToggleLinkFormListener(com.arsdigita.bebop.ToggleLink l)
l - The toggle Link
public ToggleLinkFormListener(com.arsdigita.bebop.ToggleLink l,
boolean isSelected)
l - The toggle LinkisSelected - Specify true if the toggle link should be
selected when form is processed or submited, false otherwise.| Method Detail |
public com.arsdigita.bebop.ToggleLink getToggleLink()
public boolean getIsSelected()
public void getIsSelected(boolean isSelected)
isSelected - Specify true if the toggle link should be
selected when form is processed or submitted, false otherwise.
public void process(com.arsdigita.bebop.event.FormSectionEvent e)
throws com.arsdigita.bebop.FormProcessException
process in interface com.arsdigita.bebop.event.FormProcessListenercom.arsdigita.bebop.FormProcessException
public void submitted(com.arsdigita.bebop.event.FormSectionEvent e)
throws com.arsdigita.bebop.FormProcessException
submitted in interface com.arsdigita.bebop.event.FormSubmissionListenercom.arsdigita.bebop.FormProcessException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||