|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.display.labeler.SimpleLabeler
gistoolkit.display.labeler.MultipleLabeler
Class for labeling an object with multiple attribute columns.
Field Summary |
Fields inherited from class gistoolkit.display.labeler.SimpleLabeler |
CENTER, EAST, NORTH, SOUTH, WEST |
Constructor Summary | |
MultipleLabeler()
Creates a new instance of MultipleLabeler |
Method Summary | |
void |
addLabelColumn(int inLabelColumn)
Add the number of the column to label by. |
void |
addLabelColumn(int inColumnNum,
int inColumnFormat,
java.lang.String inColumnPreString,
java.lang.String inColumnPostString)
Add the number of the column, and it's attributes. |
void |
beginLabel()
Called before the layer is initially labeled to allow the labeler to prepare for labeling. |
void |
clearLabelColumns()
Clear all the label columns. |
static java.lang.String |
decodeString(java.lang.String inString)
Decode the carage returns so they can be displayed. |
protected boolean |
drawLabel(Record inRecord,
java.awt.Graphics inGraphics,
Converter inConverter)
Draw the label for the record on the graphics context |
static java.lang.String |
encodeString(java.lang.String inString)
encode the carage returns in a different string form for storage. |
void |
endLabel()
Called after the layer has completed labeling. |
int |
getCountLabelColumns()
Get the number of label columns. |
java.lang.String |
getDelimiter()
Get the string to place between the labels. |
LabelerPanel |
getEditPanel()
Return the edit panel used to edit this labeler |
ColumnAttributes |
getLabelAttributes(int inIndex)
Return the information for the label columns. |
java.lang.String |
getLabelerName()
A name for this labeler, returns "Simple Labeler". |
Node |
getNode()
get the configuration information for this labeler |
void |
setDelimiter(java.lang.String inString)
Set the string to place between the labels. |
void |
setNode(Node inNode)
Set the configuration information for this labeler |
Methods inherited from class gistoolkit.display.labeler.SimpleLabeler |
drawLabel, drawLabelHighlight, drawString, getAllowDuplicates, getAllowOverlaps, getBounds, getLabelColumn, getLabelOffset, getLabelOrientation, getLabelPosition, getOverlapManager, getStrings, isDuplicate, isOverLaps, isOverLaps, removeDuplicate, setAllowDuplicates, setAllowOverlaps, setLabelColumn, setLabelOffset, setLabelOrientation, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MultipleLabeler()
Method Detail |
public java.lang.String getDelimiter()
public void setDelimiter(java.lang.String inString)
public java.lang.String getLabelerName()
getLabelerName
in interface Labeler
getLabelerName
in class SimpleLabeler
public void addLabelColumn(int inLabelColumn)
public void addLabelColumn(int inColumnNum, int inColumnFormat, java.lang.String inColumnPreString, java.lang.String inColumnPostString)
public int getCountLabelColumns()
public ColumnAttributes getLabelAttributes(int inIndex)
public void clearLabelColumns()
protected boolean drawLabel(Record inRecord, java.awt.Graphics inGraphics, Converter inConverter)
drawLabel
in class SimpleLabeler
public LabelerPanel getEditPanel()
public Node getNode()
getNode
in interface Labeler
getNode
in class SimpleLabeler
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface Labeler
setNode
in class SimpleLabeler
java.lang.Exception
public void beginLabel()
beginLabel
in interface Labeler
beginLabel
in class SimpleLabeler
public void endLabel()
endLabel
in interface Labeler
endLabel
in class SimpleLabeler
public static java.lang.String encodeString(java.lang.String inString)
public static java.lang.String decodeString(java.lang.String inString)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |