public abstract class DockFrontendAdapter extends Object implements DockFrontendListener
DockFrontendListener
, but
not doing anything inside these methodes.Constructor and Description |
---|
DockFrontendAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
added(DockFrontend frontend,
Dockable dockable)
Informs this listener that an additional
dockable has
been added to the list of known Dockable s of frontend . |
void |
deleted(DockFrontend frontend,
String name)
Invoked if a setting was deleted.
|
void |
hidden(DockFrontend fronend,
Dockable dockable)
Invoked if a
Dockable was made invisible. |
void |
hideable(DockFrontend frontend,
Dockable dockable,
boolean hideable)
Called when the
hideable -state
of dockable changes. |
void |
loaded(DockFrontend frontend,
String name)
Invoked if a new setting was loaded.
|
void |
read(DockFrontend frontend,
String name)
Called when a setting was read.
|
void |
removed(DockFrontend frontend,
Dockable dockable)
|
void |
saved(DockFrontend frontend,
String name)
Invoked if the current setting was saved with the name
name . |
void |
shown(DockFrontend frontend,
Dockable dockable)
Invoked if a
Dockable was made visible. |
public void added(DockFrontend frontend, Dockable dockable)
DockFrontendListener
dockable
has
been added to the list of known Dockable
s of frontend
.added
in interface DockFrontendListener
frontend
- the source of this calldockable
- the new elementpublic void deleted(DockFrontend frontend, String name)
DockFrontendListener
deleted
in interface DockFrontendListener
frontend
- the invokername
- the name of the deleted settingpublic void hidden(DockFrontend fronend, Dockable dockable)
DockFrontendListener
Dockable
was made invisible. This includes
Dockable
s which are not registered in frontend
, but
known in the DockController
.hidden
in interface DockFrontendListener
fronend
- the invokerdockable
- the element which is no longer visiblepublic void hideable(DockFrontend frontend, Dockable dockable, boolean hideable)
DockFrontendListener
hideable
-state
of dockable
changes.hideable
in interface DockFrontendListener
frontend
- the source of the eventdockable
- the element whose state changedhideable
- the new statepublic void loaded(DockFrontend frontend, String name)
DockFrontendListener
frontend
can be loaded. When a setting is loaded, the
layout of all DockStation
s and Dockable
s is changed such
that the layout reflects the properties of the setting.loaded
in interface DockFrontendListener
frontend
- the invokername
- the name of the settingpublic void read(DockFrontend frontend, String name)
DockFrontendListener
loading
.read
in interface DockFrontendListener
frontend
- the invokername
- the name of the setting which was readpublic void removed(DockFrontend frontend, Dockable dockable)
DockFrontendListener
removed
in interface DockFrontendListener
frontend
- the source of this calldockable
- the element that has been removedpublic void saved(DockFrontend frontend, String name)
DockFrontendListener
name
.saved
in interface DockFrontendListener
frontend
- the invokername
- the name of the settingpublic void shown(DockFrontend frontend, Dockable dockable)
DockFrontendListener
Dockable
was made visible. This includes
Dockable
s which are not registered in frontend
, but
known in the DockController
.shown
in interface DockFrontendListener
frontend
- the invokerdockable
- the element which was made visible