Class LabelWrapper
java.lang.Object
edu.uci.ics.jung.visualization.util.LabelWrapper
A utility to wrap long lines, creating html strings
with line breaks at a settable max line length
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an instance with default line break length = 10LabelWrapper
(int lineLength) Create an instance with passed line break length -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Field Details
-
lineLength
int lineLength -
breaker
- See Also:
-
-
Constructor Details
-
LabelWrapper
public LabelWrapper()Create an instance with default line break length = 10 -
LabelWrapper
public LabelWrapper(int lineLength) Create an instance with passed line break length- Parameters:
lineLength
- the max length for lines
-
-
Method Details