|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbackend.PointLabelHelper
public class PointLabelHelper
PointLabelHelper was designed to return unique names for points that will be placed on the sphere It is a singleton because we only want one point namer per instance of the programming running this way we know their won't be any overlap.
Method Summary | |
---|---|
java.lang.String |
getNextLabel()
getNextLabel will return the next label to label a point with it automatically sets itself up to give the next point |
static PointLabelHelper |
instance()
instance returns an initalized instance of PointLabelHelper |
void |
resetCounter()
resetCounter will reset the number counter to the appropriate states |
void |
setMaxLabel(java.lang.String newLbl)
This function should be used to make the PointLabelHelper start labeling at a new point It was primarily designed so that when a file is read in we can set the new place to start labeling |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PointLabelHelper instance()
public java.lang.String getNextLabel()
public void resetCounter()
public void setMaxLabel(java.lang.String newLbl)
newLbl
- is the new place to label at
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |