bibliothek.gui.dock.common.mode
Class ExtendedMode

java.lang.Object
  extended by bibliothek.gui.dock.common.mode.ExtendedMode

@ClientOnly
public class ExtendedMode
extends Object

A extendible set of unique singleton identifiers for the various instances of mode.

Author:
Benjamin Sigg

Field Summary
static ExtendedMode EXTERNALIZED
          the dockable is floating in a dialog, see also ExternalizedMode
static ExtendedMode MAXIMIZED
          the dockable is as big as possible, see also MaximizedMode
static ExtendedMode MINIMIZED
          the dockable is as small as possible, see also MinimizedMode
static ExtendedMode NORMALIZED
          the dockable has the normal size, see also NormalMode
 
Constructor Summary
ExtendedMode(Path modeIdentifier)
          Creates a new key.
 
Method Summary
 boolean equals(Object obj)
           
 Path getModeIdentifier()
          Gets the unique identifier of the mode.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MINIMIZED

public static final ExtendedMode MINIMIZED
the dockable is as small as possible, see also MinimizedMode


MAXIMIZED

public static final ExtendedMode MAXIMIZED
the dockable is as big as possible, see also MaximizedMode


NORMALIZED

public static final ExtendedMode NORMALIZED
the dockable has the normal size, see also NormalMode


EXTERNALIZED

public static final ExtendedMode EXTERNALIZED
the dockable is floating in a dialog, see also ExternalizedMode

Constructor Detail

ExtendedMode

public ExtendedMode(Path modeIdentifier)
Creates a new key.

Parameters:
modeIdentifier - the unique identifier of the mode
Method Detail

getModeIdentifier

public Path getModeIdentifier()
Gets the unique identifier of the mode.

Returns:
the identifier, not null

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object