apollo.gui
Class Tier

java.lang.Object
  extended by apollo.gui.Tier
Direct Known Subclasses:
FeatureTier, SiteTier

public abstract class Tier
extends java.lang.Object

Judging from the methods here a Tier has drawing space, text end(?), it might have a label, a non modifiable gap space of 1, and char space. Its total space + drawSpace + charSpace + gapSpace charSpace is where the labels go


Field Summary
static int MINHEIGHT
           
 
Constructor Summary
Tier()
           
 
Method Summary
 int getCharHigh()
           
 int getCharLow()
           
 int getDrawCentre()
           
 int getDrawHigh()
           
 int getDrawLow()
           
 int getDrawSpace()
           
 int getTextEnd()
           
abstract  java.lang.String getTierLabel()
           
 int getTotalSpace()
           
protected abstract  boolean isLabeled()
           
 void setCharHeight(int height)
           
 void setDrawSpace(int newSize)
           
 void setTextEnd(int newEnd)
           
 void setup(int sizeChange, int charHeight)
          adds size change to drawSpace, if labeled sets charHeight
 void updateUserCoordBoundaries(int lowBound)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MINHEIGHT

public static final int MINHEIGHT
See Also:
Constant Field Values
Constructor Detail

Tier

public Tier()
Method Detail

getTextEnd

public int getTextEnd()

setTextEnd

public void setTextEnd(int newEnd)

getTierLabel

public abstract java.lang.String getTierLabel()

setup

public void setup(int sizeChange,
                  int charHeight)
adds size change to drawSpace, if labeled sets charHeight


isLabeled

protected abstract boolean isLabeled()

updateUserCoordBoundaries

public void updateUserCoordBoundaries(int lowBound)

setCharHeight

public void setCharHeight(int height)

getTotalSpace

public int getTotalSpace()

getDrawSpace

public int getDrawSpace()

setDrawSpace

public void setDrawSpace(int newSize)

getDrawLow

public int getDrawLow()

getDrawHigh

public int getDrawHigh()

getDrawCentre

public int getDrawCentre()

getCharLow

public int getCharLow()

getCharHigh

public int getCharHigh()