Package bibliothek.gui.dock.support.mode
Class NullModeSettingsFactory<A>
java.lang.Object
bibliothek.gui.dock.support.mode.NullModeSettingsFactory<A>
- All Implemented Interfaces:
ModeSettingFactory<A>
The
create() method of this factory always returns null.- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates a new, emptyModeSetting.Gets the unique identifier of theModewhich uses theModeSettingof this factory.
-
Constructor Details
-
NullModeSettingsFactory
Creates a new factory.- Parameters:
id- the unique id of theMode
-
-
Method Details
-
getModeId
Description copied from interface:ModeSettingFactoryGets the unique identifier of theModewhich uses theModeSettingof this factory.- Specified by:
getModeIdin interfaceModeSettingFactory<A>- Returns:
- the unique identifier, not
null
-
create
Description copied from interface:ModeSettingFactoryCreates a new, emptyModeSetting.- Specified by:
createin interfaceModeSettingFactory<A>- Returns:
- the new setting or
nullto indicate that there is nothing to store
-