public class SpanMode extends Object
SpanMode
is a default configuration telling a Span
how it is used. The
class offers enumeration like constants, and the default DockStation
s will only
use these constants. Custom DockStation
s however may define their own SpanMode
s.Modifier and Type | Field and Description |
---|---|
static SpanMode |
OFF
Used to disabled a
Span , the span has size 0 and thus is not visible |
static SpanMode |
OPEN
|
static SpanMode |
TEASING
Opens a
Span just a little bit, enough for the user to see there is something happening |
public static final SpanMode OFF
Span
, the span has size 0
and thus is not visiblepublic static final SpanMode TEASING
Span
just a little bit, enough for the user to see there is something happeningpublic static final SpanMode OPEN
public SpanMode(String id, int size)
id
- the unique identifier of this modesize
- the preferred default size of this mode