info.bioinfweb.treegraph.document
Class CharShiftLabel

java.lang.Object
  extended by info.bioinfweb.treegraph.document.ConcretePaintableElement
      extended by info.bioinfweb.treegraph.document.TextElement
          extended by info.bioinfweb.treegraph.document.Label
              extended by info.bioinfweb.treegraph.document.CharShiftLabel
All Implemented Interfaces:
PaintableElement, java.lang.Cloneable

public class CharShiftLabel
extends Label


Field Summary
static java.lang.String CHARS_AFTER_NAME
           
private  CharShiftFormats formats
           
private  java.lang.String stateAfter
           
private  java.lang.String stateBefore
           
 
Fields inherited from class info.bioinfweb.treegraph.document.ConcretePaintableElement
positions
 
Constructor Summary
CharShiftLabel(Labels labels)
           
 
Method Summary
 CharShiftFormats getFormats()
           
 LabelPositionFormats getPositionFormats()
           
 java.lang.String getStateAfter()
           
 java.lang.String getStateBefore()
           
 void setFormats(ElementFormats formats)
           
 void setPositionFormats(LabelPositionFormats formats)
           
 void setStateAfter(java.lang.String stateAfter)
           
 void setStateBefore(java.lang.String stateBefore)
           
 
Methods inherited from class info.bioinfweb.treegraph.document.Label
clone, getID, getLabels, idIsValid, reinsert, setID, setLabels
 
Methods inherited from class info.bioinfweb.treegraph.document.TextElement
getData, toString
 
Methods inherited from class info.bioinfweb.treegraph.document.ConcretePaintableElement
getPosition
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CHARS_AFTER_NAME

public static final java.lang.String CHARS_AFTER_NAME
See Also:
Constant Field Values

stateBefore

private java.lang.String stateBefore

stateAfter

private java.lang.String stateAfter

formats

private CharShiftFormats formats
Constructor Detail

CharShiftLabel

public CharShiftLabel(Labels labels)
Method Detail

getStateAfter

public java.lang.String getStateAfter()

setStateAfter

public void setStateAfter(java.lang.String stateAfter)

getStateBefore

public java.lang.String getStateBefore()

setStateBefore

public void setStateBefore(java.lang.String stateBefore)

getFormats

public CharShiftFormats getFormats()
Specified by:
getFormats in interface PaintableElement
Specified by:
getFormats in class TextElement

setFormats

public void setFormats(ElementFormats formats)

getPositionFormats

public LabelPositionFormats getPositionFormats()
Specified by:
getPositionFormats in class Label

setPositionFormats

public void setPositionFormats(LabelPositionFormats formats)
Specified by:
setPositionFormats in class Label