|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Viewable
Viewables are objects that map directly to visible GUI elements that users can select.
| Field Summary | |
|---|---|
static java.lang.String |
PROP_ICON_PATHIdentifies the bound property 'iconPath'. |
static java.lang.String |
PROP_LABELIdentifies the bound property 'label'. |
static java.lang.String |
PROP_VISIBLEIdentifies the bound property 'visible'. |
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)Add a PropertyChangeListener to the listener list. |
IconDescription |
getIcon()Gets a relative path to the icon. |
java.lang.String |
getLabel()Returns a short label that can be displayed to the user. |
java.lang.String |
getToolTip()Returns the tool tip text to show when the mouse pointer pauses over a UI component that represents this Viewable. |
boolean |
isVisible()Get the object visible state. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)Removes a PropertyChangeListener from the listener list. |
java.lang.String |
toString()Returns the label. |
| Field Detail |
|---|
static final java.lang.String PROP_LABEL
static final java.lang.String PROP_ICON_PATH
static final java.lang.String PROP_VISIBLE
| Method Detail |
|---|
boolean isVisible()
java.lang.String getLabel()
String is considered translatable and should therefore be placed in an appropriate resource file. When possible, the returned label should be reasonably short enough to show in the navigator or explorer windows but long enough to clearly identify and distinguish the Viewable.Viewable that can be shown to the user.java.lang.String getToolTip()
Viewable.Viewable.IconDescription getIcon()
java.lang.String toString()
toString method in java.lang.Object.
Implementors of the Viewable interface should override this as appropriate. The default implementation is the same as getLabel()
toString in class java.lang.ObjectViewable.Object.toString(), getLabel()void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChangeListener to the listener list. A PropertyChangeEvent will be fired in response to setting a bound property.listener - A PropertyChangeListener.void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
PropertyChangeListener from the listener list.listener - A PropertyChangeListener.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||