|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.kernel.ui.ACSObjectSelectionModel
com.arsdigita.cms.ItemSelectionModel
com.arsdigita.cms.ui.SingleImageSelectionModel
Selects a single image for an article.
ArticleImage
,
ArticleImageDisplay
Field Summary | |
static String |
versionId
|
Constructor Summary | |
SingleImageSelectionModel(com.arsdigita.bebop.parameters.BigDecimalParameter param,
ItemSelectionModel articleModel)
Construct a new SingleImageSelectionModel |
|
SingleImageSelectionModel(com.arsdigita.bebop.SingleSelectionModel imageModel,
ItemSelectionModel articleModel)
Construct a new SingleImageSelectionModel |
|
SingleImageSelectionModel(String javaClass,
String objectType,
com.arsdigita.bebop.parameters.BigDecimalParameter param,
ItemSelectionModel articleModel)
Construct a new SingleImageSelectionModel |
|
SingleImageSelectionModel(String javaClass,
String objectType,
com.arsdigita.bebop.SingleSelectionModel imageModel,
ItemSelectionModel articleModel)
Construct a new SingleImageSelectionModel |
Method Summary | |
ItemSelectionModel |
getArticleSelectionModel()
|
Object |
getSelectedKey(com.arsdigita.bebop.PageState state)
Get the id of the currently selected image |
com.arsdigita.domain.DomainObject |
getSelectedObject(com.arsdigita.bebop.PageState state)
Get the currently selected image. |
Methods inherited from class com.arsdigita.cms.ItemSelectionModel |
createACSObject, createACSObject, createItem, createItem, getContentType, getSelectedItem |
Methods inherited from class com.arsdigita.kernel.ui.ACSObjectSelectionModel |
addChangeListener, clearSelection, getJavaClass, getObjectType, getSingleSelectionModel, getStateParameter, isInitialized, isSelected, loadACSObject, removeChangeListener, setSelectedKey, setSelectedObject |
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 SingleImageSelectionModel(String javaClass, String objectType, com.arsdigita.bebop.parameters.BigDecimalParameter param, ItemSelectionModel articleModel)
SingleImageSelectionModel
javaClass
- the Java class name of the ImageAsset
subclass
that this model deals withparam
- the BigDecimalParameter
where the image ID will
be storedarticleModel
- the ItemSelectionModel
which will supply
the current articlepublic SingleImageSelectionModel(String javaClass, String objectType, com.arsdigita.bebop.SingleSelectionModel imageModel, ItemSelectionModel articleModel)
SingleImageSelectionModel
javaClass
- the Java class name of the ImageAsset
subclass
that this model deals withimageModel
- the SingleSelectionModel
which will store the
image IDarticleModel
- the ItemSelectionModel
which will supply
the current articlepublic SingleImageSelectionModel(com.arsdigita.bebop.SingleSelectionModel imageModel, ItemSelectionModel articleModel)
SingleImageSelectionModel
imageModel
- the SingleSelectionModel
which will store the
image IDarticleModel
- the ItemSelectionModel
which will supply
the current articlepublic SingleImageSelectionModel(com.arsdigita.bebop.parameters.BigDecimalParameter param, ItemSelectionModel articleModel)
SingleImageSelectionModel
param
- the BigDecimalParameter
where the image ID will
be storedarticleModel
- the ItemSelectionModel
which will supply
the current articleMethod Detail |
public com.arsdigita.domain.DomainObject getSelectedObject(com.arsdigita.bebop.PageState state)
public Object getSelectedKey(com.arsdigita.bebop.PageState state)
public ItemSelectionModel getArticleSelectionModel()
ItemSelectionModel
which supplies the article
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |