bibliothek.gui.dock.common.perspective.mode
Class CMaximizedModePerspective

java.lang.Object
  extended by bibliothek.gui.dock.common.perspective.mode.AbstractModePerspective<CMaximizedModeAreaPerspective>
      extended by bibliothek.gui.dock.common.perspective.mode.CMaximizedModePerspective
All Implemented Interfaces:
LocationModePerspective

public class CMaximizedModePerspective
extends AbstractModePerspective<CMaximizedModeAreaPerspective>

Represents a CMaximizedMode.

Author:
Benjamin Sigg

Constructor Summary
CMaximizedModePerspective()
           
 
Method Summary
 void add(CMaximizedModeAreaPerspective location)
          Adds location to the list of possible parents.
 ExtendedMode getIdentifier()
          Gets the unique identifier for this mode.
 void readSetting(ModeSetting<Location> setting)
          Reads settings belonging to this mode from setting.
 void writeSetting(ModeSetting<Location> setting)
          Writes settings that belong to this mode to setting.
 
Methods inherited from class bibliothek.gui.dock.common.perspective.mode.AbstractModePerspective
getArea, getAreaCount, getPerspective, isCurrentMode, isCurrentMode, remove, setPerspective
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMaximizedModePerspective

public CMaximizedModePerspective()
Method Detail

getIdentifier

public ExtendedMode getIdentifier()
Description copied from interface: LocationModePerspective
Gets the unique identifier for this mode.

Returns:
the unique identifier, not null

add

public void add(CMaximizedModeAreaPerspective location)
Description copied from class: AbstractModePerspective
Adds location to the list of possible parents.

Overrides:
add in class AbstractModePerspective<CMaximizedModeAreaPerspective>
Parameters:
location - the new location, not null

readSetting

public void readSetting(ModeSetting<Location> setting)
Description copied from interface: LocationModePerspective
Reads settings belonging to this mode from setting.

Specified by:
readSetting in interface LocationModePerspective
Overrides:
readSetting in class AbstractModePerspective<CMaximizedModeAreaPerspective>
Parameters:
setting - some settings

writeSetting

public void writeSetting(ModeSetting<Location> setting)
Description copied from interface: LocationModePerspective
Writes settings that belong to this mode to setting.

Specified by:
writeSetting in interface LocationModePerspective
Overrides:
writeSetting in class AbstractModePerspective<CMaximizedModeAreaPerspective>
Parameters:
setting - the settings to write