Extension SDK 10.1.2

oracle.ide.gallery
Class RootGalleryFolder

java.lang.Object
  extended byoracle.ide.gallery.GalleryFolder
      extended byoracle.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.


Field Summary
 
Fields inherited from class oracle.ide.gallery.GalleryFolder
COLLATOR
 
Constructor Summary
RootGalleryFolder()
          Constructor
 
Method Summary
protected  GalleryFolder createFolder(java.lang.String categoryName, java.lang.String folderName)
          Deprecated. Replace with createFolder(String[]).
 Attributes getAttributes()
          This method returns an Attributes object that encodes the attributes of the Element.
protected  GalleryFolder getFolder(java.lang.String categoryName, java.lang.String folderName)
          Deprecated. Replace with getFolder(String[]).
 java.util.Properties getGenerators()
           
protected  int getItemDividerLocation()
           
 int getLastSelCategory()
          Deprecated. No longer used.
 int getLastSelItem()
           
protected  int getMainDividerLocation()
           
protected  javax.swing.tree.TreePath getSelectedCategoryPath()
           
 boolean isDirty()
          True if the data in the object has been modified.
 void markDirty(boolean dirty)
          Marks the data with the specified dirty state.
 void setGenerators(java.util.Properties prop)
           
protected  void setItemDividerLocation(int itemDividerLocation)
           
 void setLastSelCategory(int newCategory)
          Deprecated. No longer used.
 void setLastSelItem(int newItem)
           
protected  void setMainDividerLocation(int mainDividerLocation)
           
protected  void setSelectedCategoryPath(javax.swing.tree.TreePath selectedCategoryPath)
           
 
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
 

Constructor Detail

RootGalleryFolder

public RootGalleryFolder()
Constructor

Method Detail

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[]).


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.