quoggles.deprecated.stdboxes.listify
Class Listify_Rep
java.lang.Object
|
+--quoggles.representation.DefaultBoxRepresentation
|
+--quoggles.deprecated.stdboxes.listify.Listify_Rep
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, IBoxRepresentation
- public class Listify_Rep
- extends DefaultBoxRepresentation
- implements java.awt.event.ActionListener
|
Field Summary |
private javax.swing.JComboBox |
combo
|
private java.lang.String[] |
numbers
|
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
BoxRepresentation |
getRepresentation()
Uses a combo box to let the user change the (only) parameter. |
void |
setParameters(org.graffiti.plugin.parameter.Parameter[] params,
boolean fromBox)
According to the value of the second parameter tells the box about the
change or not.
|
void |
updateGraphicalRep()
Default implementation; uses
createStandardPanel(BoxRepresentation) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
combo
private javax.swing.JComboBox combo
numbers
private java.lang.String[] numbers
Listify_Rep
public Listify_Rep(IBox box)
updateGraphicalRep
public void updateGraphicalRep()
- Description copied from class:
DefaultBoxRepresentation
- Default implementation; uses
createStandardPanel(BoxRepresentation)
- Specified by:
updateGraphicalRep in interface IBoxRepresentation- Overrides:
updateGraphicalRep in class DefaultBoxRepresentation
- See Also:
IBoxRepresentation.updateGraphicalRep()
setParameters
public void setParameters(org.graffiti.plugin.parameter.Parameter[] params,
boolean fromBox)
- Description copied from class:
DefaultBoxRepresentation
- According to the value of the second parameter tells the box about the
change or not.
Calls
updateInputOutput().
- Specified by:
setParameters in interface IBoxRepresentation- Overrides:
setParameters in class DefaultBoxRepresentation
- Parameters:
params - fromBox - - See Also:
IBoxRepresentation.setParameters(org.graffiti.plugin.parameter.Parameter[], boolean)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)
getRepresentation
public BoxRepresentation getRepresentation()
- Uses a combo box to let the user change the (only) parameter.
- Specified by:
getRepresentation in interface IBoxRepresentation- Overrides:
getRepresentation in class DefaultBoxRepresentation
- See Also:
IBoxRepresentation.getRepresentation()