Package org.opencms.ade.galleries.shared
Class CmsGalleryTreeEntry
- java.lang.Object
-
- org.opencms.gwt.shared.CmsIconBean
-
- org.opencms.gwt.shared.CmsListInfoBean
-
- org.opencms.ade.galleries.shared.CmsGalleryFolderBean
-
- org.opencms.ade.galleries.shared.CmsGalleryTreeEntry
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
,I_CmsHasIconClasses
,I_CmsHasPath
,I_CmsHasTitle
,I_CmsHasType
public class CmsGalleryTreeEntry extends CmsGalleryFolderBean
Gallery tree entry class. To organize gallery folders as a tree.- Since:
- 8.0.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opencms.gwt.shared.CmsListInfoBean
CmsListInfoBean.LockIcon, CmsListInfoBean.StateIcon
-
-
Field Summary
-
Fields inherited from class org.opencms.gwt.shared.CmsListInfoBean
CSS_CLASS_MULTI_LINE
-
-
Constructor Summary
Constructors Constructor Description CmsGalleryTreeEntry(CmsGalleryFolderBean master)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(CmsGalleryTreeEntry child)
Adds a new child entry.java.util.List<CmsGalleryTreeEntry>
getChildren()
Returns the list of child entries.CmsGalleryTreeEntry
getParent()
Returns the parent entry ornull
if there is none.void
setChildren(java.util.List<CmsGalleryTreeEntry> children)
Sets the child entry list.protected void
setParent(CmsGalleryTreeEntry parent)
Sets the parent entry.-
Methods inherited from class org.opencms.ade.galleries.shared.CmsGalleryFolderBean
getContentTypes, getGroup, getGroupLabel, getPath, getSubTitle, getUploadAction, isEditable, matchesFilter, setContentTypes, setEditable, setGroup, setGroupLabel, setPath, setUploadAction
-
Methods inherited from class org.opencms.gwt.shared.CmsListInfoBean
addAdditionalInfo, addAdditionalInfo, getAdditionalInfo, getIsFolder, getLockIcon, getLockIconTitle, getResourceState, getResourceType, getStateIcon, getTitle, getType, hasAdditionalInfo, isMarkChangedState, setAdditionalInfo, setIsFolder, setLockIcon, setLockIconTitle, setMarkChangedState, setResourceState, setResourceType, setStateIcon, setSubTitle, setTitle
-
Methods inherited from class org.opencms.gwt.shared.CmsIconBean
getBigIconClasses, getSmallIconClasses, setBigIconClasses, setSmallIconClasses
-
-
-
-
Constructor Detail
-
CmsGalleryTreeEntry
public CmsGalleryTreeEntry(CmsGalleryFolderBean master)
Constructor.Copy the fields of the given master.
- Parameters:
master
- master to copy
-
-
Method Detail
-
addChild
public void addChild(CmsGalleryTreeEntry child)
Adds a new child entry.- Parameters:
child
- the child entry to add
-
getChildren
public java.util.List<CmsGalleryTreeEntry> getChildren()
Returns the list of child entries.- Returns:
- the list of child entries
-
getParent
public CmsGalleryTreeEntry getParent()
Returns the parent entry ornull
if there is none.- Returns:
- the parent entry
-
setChildren
public void setChildren(java.util.List<CmsGalleryTreeEntry> children)
Sets the child entry list.- Parameters:
children
- the list of child entries
-
setParent
protected void setParent(CmsGalleryTreeEntry parent)
Sets the parent entry.- Parameters:
parent
- the parent entry
-
-