All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsltools.visualization.ButtonPanels.SequenceButtonPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----jdsltools.visualization.ButtonPanels.ButtonPanel
                                   |
                                   +----jdsltools.visualization.ButtonPanels.SequenceButtonPanel

public class SequenceButtonPanel
extends ButtonPanel
This panel has the buttons the visualizer uses for a Sequence

Author:
Mark Handy

Variable Index

 o pcPanel_
 o posSeqPanel_
 o seq_

Constructor Index

 o SequenceButtonPanel()
Constructor is empty to support instantiation with java.lang.class.newInstance().

Method Index

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

 o beginInsertionOperation()
Will be called when the user begins an insertion into the Container, so the ButtonPanel 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 ButtonPanel can take any appropriate action.

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

 o endOperation()
Will be called when a Container operation returns, so the ButtonPanel can take any appropriate action.

 o init(VisualizationController)
The real initialization work.

 o updatePopupMenus(Sequence)

Variables

 o pcPanel_
 protected PosContainerSubpanel pcPanel_
 o posSeqPanel_
 protected PositionalSequenceSubpanel posSeqPanel_
 o seq_
 protected SequenceSubpanel seq_

Constructors

 o SequenceButtonPanel
 public SequenceButtonPanel()
Constructor is empty to support instantiation with java.lang.class.newInstance(). Method init (...) should be called immediately after construction.

Methods

 o init
 public void init(VisualizationController c)
The real initialization work.

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

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

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

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

Overrides:
beginOtherOperation in class ButtonPanel
 o endOperation
 public void endOperation()
Will be called when a Container operation returns, so the ButtonPanel can take any appropriate action.

Overrides:
endOperation in class ButtonPanel
 o updatePopupMenus
 public void updatePopupMenus(Sequence s)
Overrides:
updatePopupMenus in class ButtonPanel

All Packages  Class Hierarchy  This Package  Previous  Next  Index