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
-
EmptyElementPanel()
-
-
beginDeletionOperation()
-
Will be called when the user begins a deletion from the Container,
so the ElementPanel can take any appropriate action.
-
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).
-
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.
-
beginReadOperation()
-
Will be called when the user begins a read-only operation on the
Container, so the ElementPanel can take any appropriate action.
-
endOperation()
-
Will be called when a Container operation returns, so the
ElementPanel can take any appropriate action (randomly generating a
new element, for example).
-
endReadOperation()
-
-
loadState(ElementPanelState)
-
-
paramElement()
-
ElementPanels give the user a choice from a universe of data elements.
-
paramKey()
-
-
paramPosition1()
-
ElementPanels have to report Locators to be used in Container operations.
-
paramPosition2()
-
A few Container operations require two locators.
-
saveState()
-
-
setParamPosition(Position)
-
Stores a Locator in the ElementPanel, to be reported later, when
paramLocator1() or paramLocator2() is called.
-
setParamPosition1(Position)
-
Stores a Locator in the ElementSelector, to be reported later, when
paramLocator1() or paramLocator2() is called.
-
setParamPosition2(Position)
-
-
setReturnElement(Object)
-
Displays the result of a method call (one which returns user elements,
not Locators, e.g., remove or replace) in the ElementPanel.
-
setReturnLocator(Locator)
-
Displays the result of a method call (one which returns Locators)
in the ElementSelector.
-
setReturnPosition(Position)
-
Displays the result of a method call (one which returns Locators)
in the ElementPanel.
-
timelineEffect()
- The structure displayed has moved in history
and the element panel must respond accordingly
EmptyElementPanel
public EmptyElementPanel()
paramElement
public Object paramElement()
- ElementPanels give the user a choice from a universe of data elements.
- Overrides:
- paramElement in class ElementPanel
paramKey
public Object paramKey()
- Overrides:
- paramKey in class ElementPanel
paramPosition1
public Position paramPosition1()
- ElementPanels have to report Locators to be used in Container operations.
- Overrides:
- paramPosition1 in class ElementPanel
paramPosition2
public Position paramPosition2()
- A few Container operations require two locators.
- Overrides:
- paramPosition2 in class ElementPanel
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
setParamPosition2
public void setParamPosition2(Position position) throws InvalidElementException, InvalidPositionException
- Overrides:
- setParamPosition2 in class ElementPanel
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
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
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
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
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
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
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
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
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
endReadOperation
public void endReadOperation()
- Overrides:
- endReadOperation in class ElementPanel
saveState
public ElementPanelState saveState()
- Overrides:
- saveState in class ElementPanel
loadState
public void loadState(ElementPanelState e)
- Overrides:
- loadState in class ElementPanel
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