com.arsdigita.cms.ui.authoring
Class ArticleImageChooser
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.TextStylable
com.arsdigita.bebop.BlockStylable
com.arsdigita.bebop.SimpleContainer
com.arsdigita.cms.ui.authoring.ArticleImageChooser
- All Implemented Interfaces:
- Cloneable, com.arsdigita.bebop.Component, com.arsdigita.bebop.Container, com.arsdigita.util.Lockable
- public class ArticleImageChooser
- extends com.arsdigita.bebop.SimpleContainer
A component that can assign an existing image to an article.
Consists of an ImageChooser and an ImageSelectionForm
- Version:
- $Revision: #11 $ $DateTime: 2004/04/07 16:07:11 $
- Author:
- Stanislav Freidin, Michael Pih
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 |
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, lock, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
Methods inherited from class com.arsdigita.bebop.Completable |
addCompletionListener, fireCompletionEvent |
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 |
CHOSEN_IMAGE
public static final String CHOSEN_IMAGE
- See Also:
- Constant Field Values
versionId
public static final String versionId
- See Also:
- Constant Field Values
ArticleImageChooser
public ArticleImageChooser(ItemSelectionModel itemModel,
ItemSelectionModel assetModel)
- Construct a new ArticleImageChooser
register
public void register(com.arsdigita.bebop.Page p)
getImageSelectionForm
public ImageSelectionForm getImageSelectionForm()
- Returns:
- the image selection form
getImageChooser
public ImageChooser getImageChooser()
- Returns:
- the image chooser
selectImage
public void selectImage(com.arsdigita.bebop.PageState s,
BigDecimal imageId)
- Select the specified image and show the form
deleteImage
public void deleteImage(com.arsdigita.bebop.PageState s,
BigDecimal imageId)
- Select the specified image and show the form
deselectImage
public void deselectImage(com.arsdigita.bebop.PageState s)
- Deselect the image and hide the form
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 19 2004:2352 UTC