|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.FormSection
com.arsdigita.cms.contenttypes.ui.LinkPropertyForm
Form to edit the basic properties of an Link. This form can be extended to create forms for Link subclasses.
Field Summary | |
static String |
HTTP_PROTOCOL
|
static String |
ID
Name of this form |
static String |
SSL_PROTOCOL
|
Fields inherited from class com.arsdigita.bebop.FormSection |
m_formModel, m_panel, versionId |
Fields inherited from class com.arsdigita.bebop.SimpleComponent |
m_attr |
Fields inherited from interface com.arsdigita.bebop.event.FormInitListener |
versionId |
Fields inherited from interface com.arsdigita.bebop.event.FormProcessListener |
versionId |
Fields inherited from interface com.arsdigita.bebop.event.FormValidationListener |
versionId |
Fields inherited from interface com.arsdigita.bebop.event.FormSubmissionListener |
versionId |
Fields inherited from interface com.arsdigita.bebop.Component |
BEBOP_XML_NS, CLASS, ON_CLICK, STYLE |
Constructor Summary | |
LinkPropertyForm(ItemSelectionModel itemModel,
LinkSelectionModel link)
Creates a new form to edit the Link object specified by the item selection model passed in. |
Method Summary | |
void |
addSaveCancelSection()
Adds the saveCancelSection |
protected void |
addWidgets()
Adds widgets to the form. |
protected Link |
createLink(com.arsdigita.bebop.PageState s)
Take care of basic Link creation steps |
protected ContentItem |
getContentItem(com.arsdigita.bebop.PageState s)
Get the current ContentItem |
protected LinkSelectionModel |
getLinkSelectionModel()
return selection model for Link that we are dealing with. |
com.arsdigita.bebop.SaveCancelSection |
getSaveCancelSection()
Retrieves the saveCancelSection |
void |
init(com.arsdigita.bebop.event.FormSectionEvent fse)
Init listener. |
void |
process(com.arsdigita.bebop.event.FormSectionEvent fse)
Process listener. |
protected void |
setLinkProperties(Link link,
com.arsdigita.bebop.event.FormSectionEvent fse)
Set various properties of the Link.Child clases can over-ride this method to add additional properties to Link. |
void |
submitted(com.arsdigita.bebop.event.FormSectionEvent e)
Submission listener. |
void |
validate(com.arsdigita.bebop.event.FormSectionEvent event)
Validation listener. |
Methods inherited from class com.arsdigita.bebop.FormSection |
add, add, addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, generateXML, get, getModel, getPanel, indexOf, isEmpty, lock, process, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, respond, size |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
Methods inherited from class com.arsdigita.bebop.Completable |
addCompletionListener, fireCompletionEvent |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.arsdigita.bebop.Component |
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
Methods inherited from interface com.arsdigita.util.Lockable |
isLocked |
Field Detail |
public static final String ID
public static final String SSL_PROTOCOL
public static final String HTTP_PROTOCOL
Constructor Detail |
public LinkPropertyForm(ItemSelectionModel itemModel, LinkSelectionModel link)
itemModel
- The ItemSelectionModel to use to obtain the
ContentItem to which this link is (or will be) attachedlink
- The LinkSelectionModel to use to obtain the
Link to work onMethod Detail |
protected void addWidgets()
public void addSaveCancelSection()
public com.arsdigita.bebop.SaveCancelSection getSaveCancelSection()
protected LinkSelectionModel getLinkSelectionModel()
public void submitted(com.arsdigita.bebop.event.FormSectionEvent e) throws com.arsdigita.bebop.FormProcessException
submitted
in interface com.arsdigita.bebop.event.FormSubmissionListener
e
- the FormSectionEvent
com.arsdigita.bebop.FormProcessException
public void validate(com.arsdigita.bebop.event.FormSectionEvent event) throws com.arsdigita.bebop.FormProcessException
validate
in interface com.arsdigita.bebop.event.FormValidationListener
event
- the FormSectionEvent
com.arsdigita.bebop.FormProcessException
protected ContentItem getContentItem(com.arsdigita.bebop.PageState s)
s
- the PageState
protected Link createLink(com.arsdigita.bebop.PageState s)
s
- the PageState
public void init(com.arsdigita.bebop.event.FormSectionEvent fse) throws com.arsdigita.bebop.FormProcessException
init
in interface com.arsdigita.bebop.event.FormInitListener
fse
- the FormSectionEvent
com.arsdigita.bebop.FormProcessException
public void process(com.arsdigita.bebop.event.FormSectionEvent fse) throws com.arsdigita.bebop.FormProcessException
process
in interface com.arsdigita.bebop.event.FormProcessListener
fse
- the FormSectionEvent
com.arsdigita.bebop.FormProcessException
protected void setLinkProperties(Link link, com.arsdigita.bebop.event.FormSectionEvent fse)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |