Class BoxTextElement.SimpleBoxProvider
java.lang.Object
org.openstreetmap.josm.gui.mappaint.styleelement.BoxTextElement.SimpleBoxProvider
- All Implemented Interfaces:
BoxTextElement.BoxProvider
- Enclosing class:
- BoxTextElement
public static class BoxTextElement.SimpleBoxProvider
extends Object
implements BoxTextElement.BoxProvider
A
BoxTextElement.BoxProvider that always returns the same non-temporary rectangle-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanget()Compute and get theBoxTextElement.BoxProviderResult.inthashCode()
-
Field Details
-
box
-
-
Constructor Details
-
SimpleBoxProvider
Constructs a newSimpleBoxProvider.- Parameters:
box- the box
-
-
Method Details
-
get
Description copied from interface:BoxTextElement.BoxProviderCompute and get theBoxTextElement.BoxProviderResult. The temporary flag is set if the result of the computation may change in the future.- Specified by:
getin interfaceBoxTextElement.BoxProvider- Returns:
- The result of the computation.
-
hashCode
-
equals
-