|
Extension SDK 10.1.3.36.73 | ||||||||||
| 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
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.
| Constructor Summary | |
protected |
Layout(java.net.URL url)
|
| Method Summary | |
java.util.Iterator |
getChildren()
This method is part of the Element 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. |
java.lang.String |
getName()
Get this layout name. |
IdeLayout |
getOwner()
Get the IdeLayout that owns this layout. |
java.lang.String |
getShortLabel()
Displayable interface 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 |
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 Nodeprotected 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 Nodepublic java.lang.String getName()
public IdeLayout getOwner()
throws TransientMarker
IdeLayout that owns this layout.
TransientMarkerpublic void setOwner(IdeLayout owner)
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 Node
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.