org.gamenet.swing.controls
Class ComponentArrayPanel.ComponentController

java.lang.Object
  extended byorg.gamenet.swing.controls.ComponentArrayPanel.ComponentController
Enclosing class:
ComponentArrayPanel

private class ComponentArrayPanel.ComponentController
extends Object


Field Summary
private  JButton addButton
           
private  int componentIndex
           
private  JButton deleteButton
           
private  JButton downButton
           
private static int FIRST_AND_LAST_EVENT_POSITION
           
private static int FIRST_EVENT_POSITION
           
private  JLabel idLabel
           
private static int LAST_EVENT_POSITION
           
private static int OTHER_EVENT_POSITION
           
private  JButton upButton
           
 
Constructor Summary
ComponentArrayPanel.ComponentController(int componentIndex)
           
 
Method Summary
 void configureControls()
           
 int getComponentIndex()
           
 void setComponentIndex(int componentIndex)
           
 void setControls(JLabel idLabel, JButton addButton, JButton upButton, JButton downButton, JButton deleteButton)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idLabel

private JLabel idLabel

addButton

private JButton addButton

upButton

private JButton upButton

downButton

private JButton downButton

deleteButton

private JButton deleteButton

componentIndex

private int componentIndex

FIRST_EVENT_POSITION

private static final int FIRST_EVENT_POSITION
See Also:
Constant Field Values

OTHER_EVENT_POSITION

private static final int OTHER_EVENT_POSITION
See Also:
Constant Field Values

LAST_EVENT_POSITION

private static final int LAST_EVENT_POSITION
See Also:
Constant Field Values

FIRST_AND_LAST_EVENT_POSITION

private static final int FIRST_AND_LAST_EVENT_POSITION
See Also:
Constant Field Values
Constructor Detail

ComponentArrayPanel.ComponentController

public ComponentArrayPanel.ComponentController(int componentIndex)
Method Detail

getComponentIndex

public int getComponentIndex()

setComponentIndex

public void setComponentIndex(int componentIndex)

setControls

public void setControls(JLabel idLabel,
                        JButton addButton,
                        JButton upButton,
                        JButton downButton,
                        JButton deleteButton)

configureControls

public void configureControls()