|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-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
oracle.ide.layout.SimpleLayout
public class SimpleLayout
Simple layout information. This is an extension of the Layout
class. SimpleLayouts are generally user created layouts
that are owned by the IdeLayouts.
| Field Summary |
|---|
| Fields inherited from class oracle.ide.model.Node |
|---|
LOG_READONLY |
| Constructor Summary | |
|---|---|
SimpleLayout(java.net.URL url)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
closeImpl()
Release the data associated with this item |
boolean |
equals(java.lang.Object o)
|
protected boolean |
equalsImpl(SimpleLayout other)
|
javax.swing.Icon |
getIcon()
Displayable interface method. |
java.io.InputStream |
getInputStream()
Gets a InputStream that can be used to read the contents
of this object. |
IdeLayout |
getOwner()
Get the IdeLayout that owns this layout. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Retrieves the value associated with a property. |
boolean |
isPropertySet(java.lang.String key,
java.lang.String value,
java.lang.String defaultValue)
Returns true if the property identified by the given
key is equals the given value. |
protected void |
openImpl()
Open (load) the data associated with this item. |
java.lang.Object |
removeProperty(java.lang.String key)
Removes the property. |
protected void |
saveImpl()
Force the node to be re-loaded from file. |
void |
setOwner(IdeLayout owner)
Set the owner of this layout. |
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value)
Sets the value for a property. |
| Methods inherited from class oracle.ide.layout.Layout |
|---|
getChildren, getMenuFilter, getName, getShortLabel, isActive, isTrackedInNodeCache, setActive, setMenuFilter, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleLayout(java.net.URL url)
| Method Detail |
|---|
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
PropertyAccess
key - the property key for which a value is desired.defaultValue - the value to return if no value currently
exists.
public java.lang.Object setProperty(java.lang.String key,
java.lang.String value)
PropertyAccess
key - the property key to setvalue - the string value to set
public java.lang.Object removeProperty(java.lang.String key)
PropertyAccess
key - the property key to remove
public boolean isPropertySet(java.lang.String key,
java.lang.String value,
java.lang.String defaultValue)
true if the property identified by the given
key is equals the given value. If a
defaultValue is specified, that value is used in
the comparison. The strings are compared without regards to case.
public IdeLayout getOwner()
LayoutIdeLayout that owns this layout.
getOwner in class Layoutpublic void setOwner(IdeLayout owner)
Layout
setOwner in class Layoutpublic javax.swing.Icon getIcon()
NodeDisplayable interface method. The Node class returns
a generic icon.
getIcon in interface DisplayablegetIcon in class Node
public java.io.InputStream getInputStream()
throws java.io.IOException
InputStream that can be used to read the contents
of this object.
getInputStream in class Nodejava.io.IOException - if a security manager exists and its
checkRead method denies read access.
protected void openImpl()
throws java.io.IOException
openImpl in class Nodejava.io.IOException - if an I/O error occurred while opening
protected void closeImpl()
throws java.io.IOException
closeImpl in class Nodejava.io.IOException - if an I/O error occurred while closing
protected void saveImpl()
throws java.io.IOException
saveImpl in class Nodeshallow - do not save children if container.
TBD
java.io.IOException - if an I/O error occurred while savingpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected final boolean equalsImpl(SimpleLayout other)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||