edu.sdsc.mbt
Class LabelComponent

java.lang.Object
  extended byedu.sdsc.mbt.AnnotationComponent
      extended byedu.sdsc.mbt.LabelComponent
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class LabelComponent
extends AnnotationComponent

See Also:
Serialized Form

Field Summary
 Atom atom
           
 float[] color
           
 int dataType
           
 int font
           
 java.lang.String label
           
 
Constructor Summary
LabelComponent(Atom atom, int dataType, int font, java.lang.String label)
           
LabelComponent(Atom atom, int dataType, int font, java.lang.String label, boolean selected, float[] color)
           
 
Method Summary
 float[] getColor()
           
 int getFont()
           
 int getLabelType()
           
 boolean getSelected()
           
 float[] getSetColor()
           
 java.lang.String getText()
           
 int getType()
           
 boolean getVisible()
           
 void setFont(int font)
           
 void setSelected(boolean selected)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

atom

public Atom atom

label

public java.lang.String label

color

public float[] color

dataType

public int dataType

font

public int font
Constructor Detail

LabelComponent

public LabelComponent(Atom atom,
                      int dataType,
                      int font,
                      java.lang.String label)

LabelComponent

public LabelComponent(Atom atom,
                      int dataType,
                      int font,
                      java.lang.String label,
                      boolean selected,
                      float[] color)
Method Detail

getType

public int getType()
Specified by:
getType in class AnnotationComponent

getLabelType

public int getLabelType()

getText

public java.lang.String getText()

getColor

public float[] getColor()
Specified by:
getColor in class AnnotationComponent

getSetColor

public float[] getSetColor()

getFont

public int getFont()

setFont

public void setFont(int font)

setSelected

public void setSelected(boolean selected)
Specified by:
setSelected in class AnnotationComponent

getSelected

public boolean getSelected()
Specified by:
getSelected in class AnnotationComponent

getVisible

public final boolean getVisible()
Specified by:
getVisible in class AnnotationComponent

setVisible

public final void setVisible(boolean visible)
Specified by:
setVisible in class AnnotationComponent