|
|||||||||
| Home >> All >> javax >> ide >> [ view overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.ide.view
Class View

java.lang.Objectjavax.ide.view.DefaultViewable
javax.ide.view.View
- All Implemented Interfaces:
- javax.ide.Identifiable, Viewable
- public abstract class View
- extends DefaultViewable
- implements javax.ide.Identifiable
- extends DefaultViewable
View components display information to the user. A view
obtains the data from the model. There can be multiple views of the model.
Each View has an associated javax.ide.command.Controller.
Controllers receive requests to handle the commands associated with user
interaction with the view.
| Field Summary |
| Fields inherited from class javax.ide.view.DefaultViewable |
|
| Fields inherited from interface javax.ide.view.Viewable |
PROP_ICON_PATH, PROP_LABEL, PROP_VISIBLE |
| Constructor Summary | |
View()
|
|
| Method Summary | |
abstract void |
activate()
Called when the View gains the input focus. |
abstract void |
deactivate()
Called when the View looses the input focus. |
abstract javax.ide.command.Context |
getContext()
Gets the current view context. |
abstract javax.ide.command.Controller |
getController()
Get the Controller associated with this view. |
abstract GUIPanel |
getGUI()
Get the root graphical user interface component. |
abstract boolean |
isVisible()
Determine whether the View is visible. |
abstract View |
parent()
Get the parent view. |
abstract void |
setVisible(boolean visible)
Show/hide view. |
| Methods inherited from class javax.ide.view.DefaultViewable |
addPropertyChangeListener, firePropertyChange, getIcon, getLabel, getToolTip, removePropertyChangeListener, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.ide.Identifiable |
getID |
| Constructor Detail |
View
public View()
| Method Detail |
getGUI
public abstract GUIPanel getGUI()
- Get the root graphical user interface component.
setVisible
public abstract void setVisible(boolean visible)
- Show/hide view.
- Overrides:
setVisiblein classDefaultViewable
isVisible
public abstract boolean isVisible()
- Determine whether the View is visible.
- Specified by:
isVisiblein interfaceViewable- Overrides:
isVisiblein classDefaultViewable
getContext
public abstract javax.ide.command.Context getContext()
- Gets the current view context.
activate
public abstract void activate()
- Called when the View gains the input focus. View implementations
generally respond to the fact that this View is now the active view by
updating the view display, for example.
deactivate
public abstract void deactivate()
- Called when the View looses the input focus. View implementations
generally, respond to the fact that this View is no longer the active
view by reversing actions taken during view activation.
getController
public abstract javax.ide.command.Controller getController()
- Get the
Controllerassociated with this view.
parent
public abstract View parent()
- Get the parent view.
|
|||||||||
| Home >> All >> javax >> ide >> [ view overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC