Package org.flexdock.docking
Class DockableFactory.Stub
- java.lang.Object
-
- org.flexdock.docking.DockableFactory.Stub
-
- All Implemented Interfaces:
DockableFactory
- Enclosing interface:
- DockableFactory
public static class DockableFactory.Stub extends java.lang.Object implements DockableFactory
An empty implementation ofDockableFactory
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.flexdock.docking.DockableFactory
DockableFactory.Stub
-
-
Constructor Summary
Constructors Constructor Description Stub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dockable
getDockable(java.lang.String dockableId)
Returns aDockable
for the specified Dockable ID, possibly creating and registering it in the process.java.awt.Component
getDockableComponent(java.lang.String dockableId)
Returns aComponent
for the specified Dockable ID, possibly creating and registering aDockable
in the process.
-
-
-
Method Detail
-
getDockable
public Dockable getDockable(java.lang.String dockableId)
Returns aDockable
for the specified Dockable ID, possibly creating and registering it in the process.- Specified by:
getDockable
in interfaceDockableFactory
- Parameters:
dockableId
- the ID for the requestedDockable
- Returns:
null
.
-
getDockableComponent
public java.awt.Component getDockableComponent(java.lang.String dockableId)
Returns aComponent
for the specified Dockable ID, possibly creating and registering aDockable
in the process.- Specified by:
getDockableComponent
in interfaceDockableFactory
- Parameters:
dockableId
- the ID for the requested dockableComponent
- Returns:
null
.
-
-