public static class BoxTextElement.BoxProviderResult extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.awt.Rectangle |
box |
private boolean |
temporary |
Constructor and Description |
---|
BoxProviderResult(java.awt.Rectangle box,
boolean temporary)
Create a new box provider result
|
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getBox()
Returns the box.
|
boolean |
isTemporary()
Determines if the box can change in future calls of the
BoxTextElement.BoxProvider.get() method |
public BoxProviderResult(java.awt.Rectangle box, boolean temporary)
box
- The boxtemporary
- The temporary flag, will be returned by isTemporary()
public java.awt.Rectangle getBox()
public boolean isTemporary()
BoxTextElement.BoxProvider.get()
methodtrue
if the box can change in future calls of the BoxProvider#get()
method