Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


javax.ide.view
Class View

java.lang.Object
  extended by javax.ide.view.DefaultViewable
      extended by javax.ide.view.View

All Implemented Interfaces:
Identifiable, Viewable
Direct Known Subclasses:
Editor, LogPage

public abstract class View
extends DefaultViewable
implements Identifiable

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 Controller. Controllers receive requests to handle the commands associated with user interaction with the view.


Field Summary

 

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  Context getContext()
          Gets the current view context.
abstract  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:
setVisible in class DefaultViewable
Parameters:
visible - The visible state of the view.

isVisible

public abstract boolean isVisible()
Determine whether the View is visible.
Specified by:
isVisible in interface Viewable
Overrides:
isVisible in class DefaultViewable
Returns:
The visible state of the view.

getContext

public abstract Context getContext()
Gets the current view context.
Returns:
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 Controller getController()
Get the Controller associated with this view.
Returns:
The Controller responsible for handling the actions that can be executed from this view.

parent

public abstract View parent()
Get the parent view.
Returns:
The parent view hosting this view.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


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