info.bioinfweb.treegraph.document.format
Class CharShiftFormats
java.lang.Object
info.bioinfweb.treegraph.document.format.TextFormats
info.bioinfweb.treegraph.document.format.TextLabelFormats
info.bioinfweb.treegraph.document.format.CharShiftFormats
- All Implemented Interfaces:
- ElementFormats, java.lang.Cloneable
public class CharShiftFormats
- extends TextLabelFormats
- implements ElementFormats
This class contains formats for an CharacterShiftLabel. The color fields
inherited from ColorFormats is used to define the color of the
arrow between the two character states. The color of the colon is the same as
defined for the character name.
- Author:
- BenStoever
| Methods inherited from class info.bioinfweb.treegraph.document.format.TextFormats |
addTextStyle, assignTextFormats, getDecimalFormat, getDescent, getFont, getFontName, getLocale, getTextColor, getTextHeight, getTextStyle, hasTextStyle, removeTextStyle, setDecimalFormat, setFontName, setLocale, setTextColor, setTextStyle |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARROW_ASPECT_RATIO
private float ARROW_ASPECT_RATIO
stateBeforeFormats
private TextFormats stateBeforeFormats
stateAfterFormats
private TextFormats stateAfterFormats
arrowDimensions
private DistanceDimension arrowDimensions
CharShiftFormats
public CharShiftFormats(Label owner)
getStateAfterFormats
public TextFormats getStateAfterFormats()
getStateBeforeFormats
public TextFormats getStateBeforeFormats()
getArrowDimensions
public DistanceDimension getArrowDimensions()