quoggles.changeboxes.changeattribute
Class ChangeAttribute_Rep
java.lang.Object
|
+--quoggles.representation.DefaultBoxRepresentation
|
+--quoggles.changeboxes.changeattribute.ChangeAttribute_Rep
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, java.awt.event.FocusListener, IBoxRepresentation
- public class ChangeAttribute_Rep
- extends DefaultBoxRepresentation
- implements java.awt.event.ActionListener, java.awt.event.FocusListener
|
Field Summary |
private javax.swing.JTextField |
attrPath
|
private javax.swing.JComboBox |
attrType
|
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
focusGained(java.awt.event.FocusEvent e)
Empty. |
void |
focusLost(java.awt.event.FocusEvent e)
Similar to actionPerformed. |
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 |
attrType
private javax.swing.JComboBox attrType
attrPath
private javax.swing.JTextField attrPath
ChangeAttribute_Rep
public ChangeAttribute_Rep(IBox representedBox)
- Parameters:
representedBox -
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()
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)
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:
setParameters(org.graffiti.plugin.parameter.Parameter[], boolean)
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Empty.
- Specified by:
focusGained in interface java.awt.event.FocusListener
- See Also:
FocusListener.focusGained(java.awt.event.FocusEvent)
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- Similar to
actionPerformed. Shows a possible change
in a parameter. Needed for text areas.
- Specified by:
focusLost in interface java.awt.event.FocusListener
- See Also:
FocusListener.focusLost(java.awt.event.FocusEvent)