edu.sdsc.mbt
Class ResidueLabelComponent

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

public class ResidueLabelComponent
extends AnnotationComponent

See Also:
Serialized Form

Field Summary
 float[] color
           
 int dataType
           
 int font
           
 java.lang.String label
           
 Atom reference
           
 Residue residue
           
 
Constructor Summary
ResidueLabelComponent(Residue residue, int dataType, int font, java.lang.String label)
           
ResidueLabelComponent(Residue residue, 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

residue

public Residue residue

label

public java.lang.String label

reference

public Atom reference

color

public float[] color

dataType

public int dataType

font

public int font
Constructor Detail

ResidueLabelComponent

public ResidueLabelComponent(Residue residue,
                             int dataType,
                             int font,
                             java.lang.String label)

ResidueLabelComponent

public ResidueLabelComponent(Residue residue,
                             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