com.arsdigita.cms.ui.authoring
Class ArticleImage

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.cms.ui.authoring.ArticleImage
All Implemented Interfaces:
AuthoringStepComponent, Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable

public class ArticleImage
extends com.arsdigita.bebop.SimpleContainer
implements AuthoringStepComponent

Display the image associated with the article (if any), and present UI controls for associating a new image. This component contains two PropertyEditor instances: one instance that shows up when the article has no associated image, and another instance that shows up when the article has at least one image.

This class actually contains four inner classes:

Version:
$Revision: #19 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Stanislav Freidin (sfreidin@arsdigita.com), Michael Pih (pihman@arsdigita.com)

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
ArticleImage(ItemSelectionModel itemModel, AuthoringKitWizard parent)
           
 
Method Summary
 void cancelStreamlinedCreation(com.arsdigita.bebop.PageState state)
          Cancel streamlined creation for this step if the streamlined creation parameter is turned on _and_ the streamlined_creation global state param is set to 'active'
 void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent)
           
 ItemSelectionModel getItemSelectionModel()
           
 AuthoringKitWizard getParentWizard()
           
 void maybeForwardToNextStep(com.arsdigita.bebop.PageState state)
          Forward to the next step if the streamlined creation parameter is turned on _and_ the streamlined_creation global state param is set to 'active'
 void register(com.arsdigita.bebop.Page p)
           
 
Methods inherited from class com.arsdigita.bebop.SimpleContainer
add, add, children, contains, generateChildrenXML, generateParent, 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, lock, 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.cms.ui.authoring.AuthoringStepComponent
addCompletionListener
 
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, lock
 

Field Detail

versionId

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

ArticleImage

public ArticleImage(ItemSelectionModel itemModel,
                    AuthoringKitWizard parent)
Method Detail

register

public void register(com.arsdigita.bebop.Page p)
Specified by:
register in interface com.arsdigita.bebop.Component

generateXML

public void generateXML(com.arsdigita.bebop.PageState state,
                        com.arsdigita.xml.Element parent)
Specified by:
generateXML in interface com.arsdigita.bebop.Component

getParentWizard

public AuthoringKitWizard getParentWizard()
Returns:
the parent wizard

getItemSelectionModel

public ItemSelectionModel getItemSelectionModel()
Returns:
The item selection model

maybeForwardToNextStep

public void maybeForwardToNextStep(com.arsdigita.bebop.PageState state)
Forward to the next step if the streamlined creation parameter is turned on _and_ the streamlined_creation global state param is set to 'active'

Parameters:
state - the PageState

cancelStreamlinedCreation

public void cancelStreamlinedCreation(com.arsdigita.bebop.PageState state)
Cancel streamlined creation for this step if the streamlined creation parameter is turned on _and_ the streamlined_creation global state param is set to 'active'

Parameters:
state - the PageState


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