public class SpanMode
extends java.lang.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 |
Constructor and Description |
---|
SpanMode(java.lang.String id,
int size)
Creates a new mode
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getSize()
Gets the default size in pixels.
|
int |
hashCode() |
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