|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.facile.action.RenameActionFactory
@ClientOnly public class RenameActionFactory
A factory creating RenameActions
for a
DockController
. There is one action created for each Class
,
these actions are not removed before this factory is collected by the
garbage collector.
Constructor Summary | |
---|---|
RenameActionFactory(DockController controller)
Creates a new factory |
Method Summary | |
---|---|
protected RenameAction |
create(Class<?> owner)
Creates a new action for the specified type. |
protected RenameAction |
find(Class<?> owner)
Searches or creates a RenameAction for owner . |
RenameAction |
find(Dockable owner)
Gets an action for owner . |
DockController |
getController()
Gets the controller which is used to create the actions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenameActionFactory(DockController controller)
controller
- the controller for which actions will be createdMethod Detail |
---|
public DockController getController()
public RenameAction find(Dockable owner)
owner
.
owner
- the Dockable for which an action is searched
protected RenameAction find(Class<?> owner)
RenameAction
for owner
.
owner
- the owner for which an action is searched
null
if no rule for owner
was foundprotected RenameAction create(Class<?> owner)
DefaultDockable
,
SplitDockStation
, FlapDockStation
and StackDockStation
.
owner
- the type for which the action is created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |