Inheritance diagram for com.arcle.rmt.j2se.swing.ui.ComponentView:
Public Member Functions | |
ComponentView () | |
void | addNotify () |
Template method that initializes child components when this is first added to a parent component. | |
JComponent | getComponent () |
Returns this as the primary component of the view. | |
void | update (Observable o, Object param) |
If this is dead and there are still observables notifying, remove this from the list of observers. | |
void | setDocument (Document doc) |
Sets a document into this view, and assigns this as an observer of the document. | |
Document | getDocument () |
Returns the current document of the view. | |
Controller | getController () |
Placeholder method that returns null. | |
Protected Member Functions | |
boolean | addObservable (Object obj) |
Adds this as an oberver to the specified object iff the specified object is an instance of observable. | |
boolean | deleteObservable (Object obj) |
Removes this from the observers of the specified object iff the specified object is an instance of observable. | |
void | showException (Exception e) |
Displays a dialog window showing an exception's exception stack trace. | |
void | setDead (boolean d) |
boolean | isDead () |
void | initChildren () |
Strategy method to instantiate all child components. | |
void | layoutChildren () |
Strategy method to add all child components into this. | |
Private Attributes | |
Document | _document |
The document of this view. | |
boolean | initialized = false |
Whether the child controls had been initialized. | |
boolean | dead = false |
Whether the view is no longer active and should unregister itself from its observables. |
Definition at line 71 of file ComponentView.java.
|
Definition at line 72 of file ComponentView.java. |
|
Template method that initializes child components when
Definition at line 124 of file ComponentView.java. References com.arcle.rmt.j2se.swing.ui.ComponentView.initChildren(), com.arcle.rmt.j2se.swing.ui.ComponentView.initialized, and com.arcle.rmt.j2se.swing.ui.ComponentView.layoutChildren(). |
|
Adds
Definition at line 84 of file ComponentView.java. Referenced by com.arcle.rmt.j2se.swing.ui.ComponentView.setDocument(). |
|
Removes
Definition at line 100 of file ComponentView.java. Referenced by com.arcle.rmt.j2se.swing.ui.ComponentView.setDocument(), and com.arcle.rmt.j2se.swing.ui.ComponentView.update(). |
|
Returns
Implements com.arcle.rmt.j2se.swing.ui.View. Definition at line 155 of file ComponentView.java. |
|
Placeholder method that returns null.
Implements com.arcle.rmt.j2se.swing.ui.View. Definition at line 197 of file ComponentView.java. |
|
Returns the current document of the view.
Implements com.arcle.rmt.j2se.swing.ui.View. Definition at line 190 of file ComponentView.java. References com.arcle.rmt.j2se.swing.ui.ComponentView._document. |
|
Strategy method to instantiate all child components. The default implementation does nothing. Definition at line 208 of file ComponentView.java. Referenced by com.arcle.rmt.j2se.swing.ui.ComponentView.addNotify(). |
|
Definition at line 144 of file ComponentView.java. References com.arcle.rmt.j2se.swing.ui.ComponentView.dead. Referenced by com.arcle.rmt.j2se.swing.ui.ComponentView.update(). |
|
Strategy method to add all child components into this. The default implementation does nothing. Definition at line 214 of file ComponentView.java. Referenced by com.arcle.rmt.j2se.swing.ui.ComponentView.addNotify(). |
|
Definition at line 140 of file ComponentView.java. References com.arcle.rmt.j2se.swing.ui.ComponentView.dead. |
|
Sets a document into this view, and assigns this as an observer of the document.
Afterwards it fires a property change event for the property named
Implements com.arcle.rmt.j2se.swing.ui.View. Definition at line 175 of file ComponentView.java. References com.arcle.rmt.j2se.swing.ui.ComponentView._document, com.arcle.rmt.j2se.swing.ui.ComponentView.addObservable(), and com.arcle.rmt.j2se.swing.ui.ComponentView.deleteObservable(). |
|
Displays a dialog window showing an exception's exception stack trace.
Definition at line 113 of file ComponentView.java. |
|
If
Definition at line 163 of file ComponentView.java. References com.arcle.rmt.j2se.swing.ui.ComponentView.deleteObservable(), and com.arcle.rmt.j2se.swing.ui.ComponentView.isDead(). |
|
The document of this view.
Definition at line 226 of file ComponentView.java. Referenced by com.arcle.rmt.j2se.swing.ui.ComponentView.getDocument(), and com.arcle.rmt.j2se.swing.ui.ComponentView.setDocument(). |
|
Whether the view is no longer active and should unregister itself from its observables.
Definition at line 237 of file ComponentView.java. Referenced by com.arcle.rmt.j2se.swing.ui.ComponentView.isDead(), and com.arcle.rmt.j2se.swing.ui.ComponentView.setDead(). |
|
Whether the child controls had been initialized.
Definition at line 231 of file ComponentView.java. Referenced by com.arcle.rmt.j2se.swing.ui.ComponentView.addNotify(). |