quoggles.stdboxes.output
Class NormalOutput_Rep

java.lang.Object
  |
  +--quoggles.representation.DefaultBoxRepresentation
        |
        +--quoggles.stdboxes.output.NormalOutput_Rep
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, IBoxRepresentation

public class NormalOutput_Rep
extends DefaultBoxRepresentation
implements java.awt.event.ActionListener

Represents a normal output box.


Field Summary
private  java.awt.geom.Point2D inputPos
           
private  javax.swing.JComboBox outPosCombo
           
private  java.awt.geom.Point2D outputPos
           
 
Fields inherited from class quoggles.representation.DefaultBoxRepresentation
box, classLabel, graphicalRep, inputLabel, INPUTLABEL, inputsPos, outputLabel, OUTPUTLABEL, outputsPos, parameters
 
Constructor Summary
NormalOutput_Rep(IBox representedBox)
          Construct representation (IO etc).
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.awt.geom.Point2D[] getRelInputsPos()
          Top center.
 java.awt.geom.Point2D[] getRelOutputsPos()
          Top center.
 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 quoggles.representation.DefaultBoxRepresentation
createStandardPanel, getIBox, getRepresentation, repaintBoxRep, standardizeBoxRep, updateId, updateInputOutput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

outPosCombo

private javax.swing.JComboBox outPosCombo

inputPos

private java.awt.geom.Point2D inputPos

outputPos

private java.awt.geom.Point2D outputPos
Constructor Detail

NormalOutput_Rep

public NormalOutput_Rep(IBox representedBox)
Construct representation (IO etc).

Parameters:
representedBox -
Method Detail

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()

getRelOutputsPos

public java.awt.geom.Point2D[] getRelOutputsPos()
Top center.

Specified by:
getRelOutputsPos in interface IBoxRepresentation
Overrides:
getRelOutputsPos in class DefaultBoxRepresentation
See Also:
#getOtherRelOutputPos()

getRelInputsPos

public java.awt.geom.Point2D[] getRelInputsPos()
Top center.

Specified by:
getRelInputsPos in interface IBoxRepresentation
Overrides:
getRelInputsPos in class DefaultBoxRepresentation
See Also:
#getOtherRelInputPos()

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:
IBoxRepresentation.setParameters(org.graffiti.plugin.parameter.Parameter[], boolean)