Class BoxTextElement.BoxProviderResult
java.lang.Object
org.openstreetmap.josm.gui.mappaint.styleelement.BoxTextElement.BoxProviderResult
- Enclosing class:
- BoxTextElement
A box rectangle with a flag if it is temporary.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBoxProviderResult(Rectangle box, boolean temporary) Create a new box provider result -
Method Summary
Modifier and TypeMethodDescriptiongetBox()Returns the box.booleanDetermines if the box can change in future calls of theBoxTextElement.BoxProvider.get()method
-
Field Details
-
box
-
temporary
-
-
Constructor Details
-
BoxProviderResult
Create a new box provider result- Parameters:
box- The boxtemporary- The temporary flag, will be returned byisTemporary()
-
-
Method Details
-
getBox
Returns the box.- Returns:
- the box
-
isTemporary
Determines if the box can change in future calls of theBoxTextElement.BoxProvider.get()method- Returns:
trueif the box can change in future calls of theBoxProvider#get()method
-