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 DockStations will only
use these constants. Custom DockStations however may define their own SpanModes.| 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(String id,
int size)
Creates a new mode
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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
public SpanMode(String id, int size)
id - the unique identifier of this modesize - the preferred default size of this modeCopyright © 2017 Docking Frames. All rights reserved.