com.arsdigita.cms.ui.authoring
Class PageEditDynamic

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.TextStylable
              extended bycom.arsdigita.bebop.BlockStylable
                  extended bycom.arsdigita.bebop.SimpleContainer
                      extended bycom.arsdigita.bebop.PropertyEditor
                          extended bycom.arsdigita.cms.ui.SecurityPropertyEditor
                              extended bycom.arsdigita.cms.ui.authoring.PageEditDynamic
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable
Direct Known Subclasses:
SecondaryPageEditDynamic

public class PageEditDynamic
extends SecurityPropertyEditor

The editing component for user defined items. Consists of a display component which displays the form metadata, and a form which edits the metadata as well as text.

Version:
$Revision: #20 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Xixi D'Moon (xdmoon@arsdigita.com)

Nested Class Summary
 
Nested classes inherited from class com.arsdigita.cms.ui.SecurityPropertyEditor
SecurityPropertyEditor.AccessListModel, SecurityPropertyEditor.AccessListModelBuilder
 
Nested classes inherited from class com.arsdigita.bebop.PropertyEditor
com.arsdigita.bebop.PropertyEditor.DefaultModel, com.arsdigita.bebop.PropertyEditor.DefaultModelBuilder, com.arsdigita.bebop.PropertyEditor.IdentityCellRenderer
 
Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.BlockStylable
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
PageEditDynamic(ItemSelectionModel itemModel, AuthoringKitWizard parent)
          Construct a new PageEditDynamic component
PageEditDynamic(ItemSelectionModel itemModel, AuthoringKitWizard parent, ContentType originatingType)
          Construct a new PageEditDynamic component
PageEditDynamic(ItemSelectionModel itemModel, AuthoringKitWizard parent, ContentType originatingType, boolean isPrimaryStep)
          Construct a new PageEditDynamic component
 
Method Summary
protected  void addNameTitleFields(com.arsdigita.toolbox.ui.DomainObjectPropertySheet sheet)
           
 ItemSelectionModel getItemSelectionModel()
           
 AuthoringKitWizard getParentWizard()
           
 
Methods inherited from class com.arsdigita.cms.ui.SecurityPropertyEditor
add, add, addComponent, addComponent, addListeners, addSecurityListener, getAccessMap, setComponentAccess
 
Methods inherited from class com.arsdigita.bebop.PropertyEditor
add, add, add, add, addCancelListener, addComponent, addComponent, addProcessListener, addVisibilityListener, getComponent, getDisplayComponent, getDisplayPane, getLabelsMap, getList, getModel, getModelBuilder, getSelectedComponentKey, lock, register, setDisplayComponent, setModelBuilder, showComponent, showDisplayPane
 
Methods inherited from class com.arsdigita.bebop.SimpleContainer
add, add, children, contains, generateChildrenXML, generateParent, generateXML, get, getNamespace, getTag, indexOf, isEmpty, setNamespace, setTag, size
 
Methods inherited from class com.arsdigita.bebop.BlockStylable
setBorder, setBorder, setBorderColor, setHorizontalAlignment, setMargin, setMargin, setPadding, setPadding, setVerticalAlignment
 
Methods inherited from class com.arsdigita.bebop.TextStylable
setBackgroundColor, setColor
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, register, respond, 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, respond, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

PageEditDynamic

public PageEditDynamic(ItemSelectionModel itemModel,
                       AuthoringKitWizard parent)
Construct a new PageEditDynamic component

Parameters:
itemModel - The ItemSelectionModel which will be responsible for loading the current item
parent - The parent wizard which contains the form. The form may use the wizard's methods, such as stepForward and stepBack, in its process listener.

PageEditDynamic

public PageEditDynamic(ItemSelectionModel itemModel,
                       AuthoringKitWizard parent,
                       ContentType originatingType)
Construct a new PageEditDynamic component

Parameters:
itemModel - The ItemSelectionModel which will be responsible for loading the current item
parent - The parent wizard which contains the form. The form may use the wizard's methods, such as stepForward and stepBack, in its process listener.
originatingType - The content type to use for choosing dynamic components (if one UDCT inherits from another, type-specific attributes will be in separate steps).

PageEditDynamic

public PageEditDynamic(ItemSelectionModel itemModel,
                       AuthoringKitWizard parent,
                       ContentType originatingType,
                       boolean isPrimaryStep)
Construct a new PageEditDynamic component

Parameters:
itemModel - The ItemSelectionModel which will be responsible for loading the current item
parent - The parent wizard which contains the form. The form may use the wizard's methods, such as stepForward and stepBack, in its process listener.
originatingType - The content type to use for choosing dynamic components (if one UDCT inherits from another, type-specific attributes will be in separate steps).
isPrimaryStep - Whether this authoring step is a primary step for the authoring kit
Method Detail

addNameTitleFields

protected void addNameTitleFields(com.arsdigita.toolbox.ui.DomainObjectPropertySheet sheet)

getParentWizard

public AuthoringKitWizard getParentWizard()
Returns:
the parent wizard

getItemSelectionModel

public ItemSelectionModel getItemSelectionModel()
Returns:
The item selection model


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC