edu.sdsc.mbt
Class LabelComponent
java.lang.Object
edu.sdsc.mbt.AnnotationComponent
edu.sdsc.mbt.LabelComponent
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class LabelComponent
- extends AnnotationComponent
- See Also:
- Serialized Form
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
atom
public Atom atom
label
public java.lang.String label
color
public float[] color
dataType
public int dataType
font
public int font
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)
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