Extension SDK 10.1.2


oracle.ide.layout
Class IdeProperties

java.lang.Object
  extended byoracle.ide.layout.BaseLayout
      extended byoracle.ide.layout.SimpleLayout
          extended byoracle.ide.layout.IdeProperties

All Implemented Interfaces:
Data, Dirtyable, Displayable, Document, Element, Layout, LazyLoadable, Locatable, PropertyAccess, Subject

public class IdeProperties
extends SimpleLayout

The IdeProperties class is reponsible for managing the general layout information, such as the size and position of the main application window and the opened editor frames for example.


Field Summary

Fields inherited from class oracle.ide.layout.BaseLayout
_attributes, _lastModified, _url

Fields inherited from interface oracle.ide.layout.Layout
LAYOUT_ACTIVE_PROPERTY, LAYOUT_NAME_PROPERTY

Fields inherited from interface oracle.ide.addin.Subject
OBJECT_MODIFIED

Constructor Summary
IdeProperties()
Constructor

Method Summary
javax.swing.Icon getIcon()
Returns an Icon that can be shown in association with this Displayable.
java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
Retrieves the value associated with a property.

Methods inherited from class oracle.ide.layout.SimpleLayout
close, equals, equalsImpl, getInputStream, getOwner, isOpen, isPropertySet, open, removeProperty, save, setInherited, setOwner, setProperties, setProperty

Methods inherited from class oracle.ide.layout.BaseLayout
attach, copyToImpl, detach, equalsImpl, findLayout, getAttributes, getChildren, getData, getFilename, getLongLabel, getName, getShortLabel, getTimestamp, getToolTipText, getURL, isActive, isDirty, isNew, isReadOnly, markDirty, mayHaveChildren, notifyObservers, setActive, setURL, toString

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

IdeProperties

public IdeProperties()
Constructor

Method Detail

getIcon

public javax.swing.Icon getIcon()
Description copied from interface: Displayable
Returns an Icon that can be shown in association with this Displayable. Typically the icon will be used in a tree control or list control. Therefore the icon must fit naturally within the space normally given to items within those controls. Such icons are usually 16x16 in size or, if there is a one-pixel transparent padding around the edge, 18x18 in size. It is strongly recommended that icons returned by this method be either 16x16 or 18x18 in size. If null is returned, the control may show a default icon, or it may show no icon, whichever is appropriate.
Specified by:
getIcon in interface Displayable
Overrides:
getIcon in class SimpleLayout
Returns:
the Icon for this node instance

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String defaultValue)
Description copied from interface: PropertyAccess
Retrieves the value associated with a property. If no value exists for the requested property, the specified default value is returned.
Specified by:
getProperty in interface PropertyAccess
Overrides:
getProperty in class SimpleLayout

Extension SDK


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