| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.model.Node
oracle.ide.layout.Layout
public abstract class Layout
Layout interface. Layouts remember the position of views. When a layout is activated, the state of the remembered views is recovered from the information saved in the layout.
| Field Summary | 
|---|
| Fields inherited from class oracle.ide.model.Node | 
|---|
| LOG_READONLY | 
| Constructor Summary | |
|---|---|
| protected  | Layout(java.net.URL url) | 
| Method Summary | |
|---|---|
|  java.util.Iterator | getChildren()This method is part of the Elementinterface to
  provide a convenient way of getting anIteratorover any
  contained childElements without having to test the
  object's type with theinstanceofoperator or having
  to downcast to a more specific type. | 
|  MenuFilter | getMenuFilter()Returns the current menu filter for this layout. | 
|  java.lang.String | getName()Get this layout name. | 
|  IdeLayout | getOwner()Get the IdeLayoutthat owns this layout. | 
|  java.lang.String | getShortLabel()Displayableinterface method. | 
|  boolean | isActive()Returns true if this layout is currently active. | 
| protected  boolean | isTrackedInNodeCache()The return value of this method indicates whether this Node should be tracked by the NodeFactory cache. | 
|  void | setActive(boolean active)Mark this layout as the currently active layout. | 
|  void | setMenuFilter(MenuFilter filter)Registers a menu filter for the layout. | 
|  void | setOwner(IdeLayout owner)Set the owner of this layout. | 
|  java.lang.String | toString()Returns the Short Label displayed to a user. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface oracle.ide.util.PropertyAccess | 
|---|
| getProperty, removeProperty, setProperty | 
| Constructor Detail | 
|---|
protected Layout(java.net.URL url)
| Method Detail | 
|---|
public java.util.Iterator getChildren()
ElementElement interface to
  provide a convenient way of getting an Iterator over any
  contained child Elements without having to test the
  object's type with the instanceof operator or having
  to downcast to a more specific type.
  An implementation of Element that represents a leaf
  in a tree structure should return null from this
  method.  An implementation of Element that could
  represent a non-leaf in a tree structure should return either an
  Iterator over the child Elements or
  null if there are no children.
getChildren in interface ElementgetChildren in class NodeIterator over any child Elements
  contained by this Element.  If there are no children,
  null is returned.protected boolean isTrackedInNodeCache()
Nodetrue.  Node types that should not
  be tracked by the NodeFactory cache should override this method
  to return false.
isTrackedInNodeCache in class Nodetrue if this Node should be tracked by the
  IDE's NodeFactory cache; false otherwise.
public boolean isActive()
                 throws TransientMarker
TransientMarkerpublic void setActive(boolean active)
public java.lang.String getShortLabel()
NodeDisplayable interface method.  The Node class returns
  the file name part of the currently set URL.  If the
  currently set URL is null, then this method
  returns "<null>".
getShortLabel in interface DisplayablegetShortLabel in class NodeDisplayable
  that can be shown to the user.public java.lang.String getName()
public IdeLayout getOwner()
                   throws TransientMarker
IdeLayout that owns this layout.
TransientMarkerpublic void setOwner(IdeLayout owner)
public final void setMenuFilter(MenuFilter filter)
filter - the filter to select when the specified layout becomes
    the active layout.public final MenuFilter getMenuFilter()
public java.lang.String toString()
DisplayabletoString method in java.lang.Object.
 
 Implementors of the Displayable interface should 
 override this as appropriate.  The default implementation is
 the same as getShortLabel
 
toString in interface DisplayabletoString in class NodeObject.toString(), 
Displayable.getShortLabel()| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||