oracle.ide.gallery
Class RootGalleryFolder
java.lang.Object
oracle.ide.gallery.GalleryFolder
oracle.ide.gallery.RootGalleryFolder
- All Implemented Interfaces:
- java.lang.Comparable, Data, Dirtyable, Displayable, Element, Folder
- public final class RootGalleryFolder
- extends GalleryFolder
- implements Dirtyable
The Root of the tree of GalleryFolder
and GalleryElement
instances. This data model also holds the last selected category and item information.
Methods inherited from class oracle.ide.gallery.GalleryFolder |
add, canAdd, canRemove, compareTo, containsChild, createFolder, findFolder, getChildren, getChildrenDirectly, getData, getElementAt, getElementChildren, getFolder, getFolderChildren, getGalleryElement, getGalleryFolder, getIcon, getList, getLongLabel, getName, getShortLabel, getSize, getToolTipText, getUnsorted, isExpanded, mayHaveChildren, remove, removeAll, setChildrenDirectly, setExpanded, setList, setName, setUnsorted, size, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RootGalleryFolder
public RootGalleryFolder()
- Constructor
getLastSelItem
public int getLastSelItem()
setLastSelItem
public void setLastSelItem(int newItem)
getGenerators
public java.util.Properties getGenerators()
setGenerators
public void setGenerators(java.util.Properties prop)
getLastSelCategory
public int getLastSelCategory()
throws TransientMarker
- Deprecated. No longer used.
-
- Throws:
TransientMarker
setLastSelCategory
public void setLastSelCategory(int newCategory)
- Deprecated. No longer used.
getAttributes
public Attributes getAttributes()
- Description copied from interface:
Element
- This method returns an
Attributes
object that encodes the attributes of the Element
. Changing the attribute settings on the return object changes the element attributes. Subclasses should use their super class attributes object to define their own attributes. This allows subclasses to inherit their super class attributes. If a subclass does not wish to inherit attributes, they should first call getAttributes().clear()
and define new attributes.
-
- Specified by:
getAttributes
in interface Element
- Overrides:
getAttributes
in class GalleryFolder
isDirty
public boolean isDirty()
- Description copied from interface:
Dirtyable
- True if the data in the object has been modified.
-
- Specified by:
isDirty
in interface Dirtyable
-
- Returns:
true
if the data in the object has been modified.
markDirty
public void markDirty(boolean dirty)
- Description copied from interface:
Dirtyable
- Marks the data with the specified dirty state. This method is called
markDirty(...)
instead of setDirty(...)
so that the JavaBeans Introspector
will not mistakenly identify "dirty" as a JavaBean property.
-
- Specified by:
markDirty
in interface Dirtyable
-
- Parameters:
dirty
- If true
, sets the object as being dirty; if false
, sets the object as being up-to-date.
getSelectedCategoryPath
protected javax.swing.tree.TreePath getSelectedCategoryPath()
setSelectedCategoryPath
protected void setSelectedCategoryPath(javax.swing.tree.TreePath selectedCategoryPath)
getMainDividerLocation
protected int getMainDividerLocation()
setMainDividerLocation
protected void setMainDividerLocation(int mainDividerLocation)
getItemDividerLocation
protected int getItemDividerLocation()
setItemDividerLocation
protected void setItemDividerLocation(int itemDividerLocation)
getFolder
protected GalleryFolder getFolder(java.lang.String categoryName,
java.lang.String folderName)
- Deprecated. Replace with
getFolder(String[])
.
createFolder
protected GalleryFolder createFolder(java.lang.String categoryName,
java.lang.String folderName)
- Deprecated. Replace with
createFolder(String[])
.
Copyright © 1997, 2004, Oracle. All rights reserved.