All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsltools.visualization.ElementPanels.EmptyElementPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----jdsltools.visualization.ElementPanels.ElementPanel
                                   |
                                   +----jdsltools.visualization.ElementPanels.EmptyElementPanel

public class EmptyElementPanel
extends ElementPanel
An element panel with no buttons; for Enumerations.

Author:
Ryan Shaun Baker

Constructor Index

 o EmptyElementPanel()

Method Index

 o beginDeletionOperation()
Will be called when the user begins a deletion from the Container, so the ElementPanel can take any appropriate action.

 o beginInsertionOperation()
Will be called when the user begins an insertion into the Container, so the ElementPanel can take any appropriate action (clearing the previous return value, for example).

 o beginOtherOperation()
Will be called when the user begins an operation on the Container that is not subsumed above, so the ElementPanel can take any appropriate action.

 o beginReadOperation()
Will be called when the user begins a read-only operation on the Container, so the ElementPanel can take any appropriate action.

 o endOperation()
Will be called when a Container operation returns, so the ElementPanel can take any appropriate action (randomly generating a new element, for example).

 o endReadOperation()
 o loadState(ElementPanelState)
 o paramElement()
ElementPanels give the user a choice from a universe of data elements.
 o paramKey()
 o paramPosition1()
ElementPanels have to report Locators to be used in Container operations.
 o paramPosition2()
A few Container operations require two locators.
 o saveState()
 o setParamPosition(Position)
Stores a Locator in the ElementPanel, to be reported later, when paramLocator1() or paramLocator2() is called.
 o setParamPosition1(Position)
Stores a Locator in the ElementSelector, to be reported later, when paramLocator1() or paramLocator2() is called.
 o setParamPosition2(Position)
 o setReturnElement(Object)
Displays the result of a method call (one which returns user elements, not Locators, e.g., remove or replace) in the ElementPanel.

 o setReturnLocator(Locator)
Displays the result of a method call (one which returns Locators) in the ElementSelector.

 o setReturnPosition(Position)
Displays the result of a method call (one which returns Locators) in the ElementPanel.

 o timelineEffect()
The structure displayed has moved in history and the element panel must respond accordingly

Constructors

 o EmptyElementPanel
 public EmptyElementPanel()

Methods

 o paramElement
 public Object paramElement()
ElementPanels give the user a choice from a universe of data elements.

Overrides:
paramElement in class ElementPanel
 o paramKey
 public Object paramKey()
Overrides:
paramKey in class ElementPanel
 o paramPosition1
 public Position paramPosition1()
ElementPanels have to report Locators to be used in Container operations.

Overrides:
paramPosition1 in class ElementPanel
 o paramPosition2
 public Position paramPosition2()
A few Container operations require two locators.

Overrides:
paramPosition2 in class ElementPanel
 o setParamPosition1
 public void setParamPosition1(Position position) throws InvalidElementException, InvalidPositionException
Stores a Locator in the ElementSelector, to be reported later, when paramLocator1() or paramLocator2() is called.

Overrides:
setParamPosition1 in class ElementPanel
 o setParamPosition2
 public void setParamPosition2(Position position) throws InvalidElementException, InvalidPositionException
Overrides:
setParamPosition2 in class ElementPanel
 o setParamPosition
 public void setParamPosition(Position position) throws InvalidElementException, InvalidPositionException
Stores a Locator in the ElementPanel, to be reported later, when paramLocator1() or paramLocator2() is called.

Overrides:
setParamPosition in class ElementPanel
 o setReturnElement
 public void setReturnElement(Object element) throws InvalidElementException
Displays the result of a method call (one which returns user elements, not Locators, e.g., remove or replace) in the ElementPanel.

Overrides:
setReturnElement in class ElementPanel
 o setReturnPosition
 public void setReturnPosition(Position position) throws InvalidElementException, InvalidPositionException
Displays the result of a method call (one which returns Locators) in the ElementPanel.

Overrides:
setReturnPosition in class ElementPanel
 o setReturnLocator
 public void setReturnLocator(Locator locator) throws InvalidElementException, InvalidPositionException
Displays the result of a method call (one which returns Locators) in the ElementSelector.

Overrides:
setReturnLocator in class ElementPanel
 o beginInsertionOperation
 public void beginInsertionOperation()
Will be called when the user begins an insertion into the Container, so the ElementPanel can take any appropriate action (clearing the previous return value, for example).

Overrides:
beginInsertionOperation in class ElementPanel
 o beginDeletionOperation
 public void beginDeletionOperation()
Will be called when the user begins a deletion from the Container, so the ElementPanel can take any appropriate action.

Overrides:
beginDeletionOperation in class ElementPanel
 o beginReadOperation
 public void beginReadOperation()
Will be called when the user begins a read-only operation on the Container, so the ElementPanel can take any appropriate action.

Overrides:
beginReadOperation in class ElementPanel
 o beginOtherOperation
 public void beginOtherOperation()
Will be called when the user begins an operation on the Container that is not subsumed above, so the ElementPanel can take any appropriate action.

Overrides:
beginOtherOperation in class ElementPanel
 o endOperation
 public void endOperation()
Will be called when a Container operation returns, so the ElementPanel can take any appropriate action (randomly generating a new element, for example).

Overrides:
endOperation in class ElementPanel
 o endReadOperation
 public void endReadOperation()
Overrides:
endReadOperation in class ElementPanel
 o saveState
 public ElementPanelState saveState()
Overrides:
saveState in class ElementPanel
 o loadState
 public void loadState(ElementPanelState e)
Overrides:
loadState in class ElementPanel
 o timelineEffect
 public void timelineEffect()
The structure displayed has moved in history and the element panel must respond accordingly

Overrides:
timelineEffect in class ElementPanel

All Packages  Class Hierarchy  This Package  Previous  Next  Index