|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.station.span.SpanMode
public class SpanMode
A 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.
| Field Summary | |
|---|---|
static SpanMode |
OFF
Used to disabled a Span, the span has size 0 and thus is not visible |
static SpanMode |
OPEN
Fully opens a Span, the user sees how the layout will change when he drops a Dockable
at its current position. |
static SpanMode |
TEASING
Opens a Span just a little bit, enough for the user to see there is something happening |
| Constructor Summary | |
|---|---|
SpanMode(String id,
int size)
Creates a new mode |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getSize()
Gets the default size in pixels. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final SpanMode OFF
Span, the span has size 0 and thus is not visible
public static final SpanMode TEASING
Span just a little bit, enough for the user to see there is something happening
public static final SpanMode OPEN
Span, the user sees how the layout will change when he drops a Dockable
at its current position.
| Constructor Detail |
|---|
public SpanMode(String id,
int size)
id - the unique identifier of this modesize - the preferred default size of this mode| Method Detail |
|---|
public int getSize()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||