public interface SpanCallback
Span
and DockStation
.Modifier and Type | Method and Description |
---|---|
DockStation |
getStation()
Gets the
DockStation that is using this Span . |
SpanUsage |
getUsage()
Tells the
Span how it is used. |
boolean |
isHorizontal()
Tells whether the
Span influences some width. |
boolean |
isVertical()
Tells whether the
Span influences some height. |
void |
resized()
To be called by the
Span every time when its size changes. |
DockStation getStation()
DockStation
that is using this Span
.null
boolean isHorizontal()
Span
influences some width.Span
is horizontal, the opposite of isVertical()
boolean isVertical()
Span
influences some height.Span
is vertical, the opposite of isHorizontal()
void resized()
Span
every time when its size changes. This method should be called
from the EventDispatcherThread
.