|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.dockable.AbstractDockable
bibliothek.gui.dock.ComponentDockable
ToolbarItemDockable, which offers the same functionality and more
@Deprecated
@Todo(compatibility=BREAK_MINOR,
priority=MAJOR,
target=VERSION_1_1_1,
description="to be removed")
public class ComponentDockable
A Dockable which consist only of one JComponent. This
dockable can be put in DockStation which implements marker interface
ToolbarInterface
| Constructor Summary | |
|---|---|
ComponentDockable()
Deprecated. Constructs a new ComponentDockable |
|
ComponentDockable(Component component)
Deprecated. Constructs a new ComponentDockable and places one component onto the content pane. |
|
ComponentDockable(Component component,
Icon icon)
Deprecated. Constructs a new ComponentDockable, sets an icon and places one component. |
|
ComponentDockable(Component component,
String title)
Deprecated. Constructs a new ComponentDockable, sets the title and places one component. |
|
ComponentDockable(Component component,
String title,
Icon icon)
Deprecated. Constructs a new ComponentDockable, sets the icon and the title, and places a component. |
|
ComponentDockable(Icon icon)
Deprecated. Constructs a new ComponentDockable and sets the icon. |
|
ComponentDockable(String title)
Deprecated. Constructs a new ComponentDockable and sets the title. |
|
| Method Summary | |
|---|---|
boolean |
accept(bibliothek.gui.DockStation station)
Deprecated. |
boolean |
accept(bibliothek.gui.DockStation base,
bibliothek.gui.Dockable neighbour)
Deprecated. |
void |
addExpandableListener(ExpandableToolbarItemListener listener)
Deprecated. Adds the observer listener to this item. |
void |
addMouseInputListener(MouseInputListener listener)
Deprecated. |
bibliothek.gui.DockStation |
asDockStation()
Deprecated. |
protected bibliothek.gui.dock.util.icon.DockIcon |
createTitleIcon()
Deprecated. |
Component |
getComponent()
Deprecated. |
ExpandedState |
getExpandedState()
Deprecated. Gets the current state of this item. |
String |
getFactoryID()
Deprecated. |
void |
removeExpandableListener(ExpandableToolbarItemListener listener)
Deprecated. Removes the observer listener from this item. |
void |
removeMouseInputListener(MouseInputListener listener)
Deprecated. |
void |
setComponent(Component component,
ExpandedState state)
Deprecated. Sets the Component which should be shown if in state
state. |
void |
setExpandedState(ExpandedState state)
Deprecated. Changes the state of this item to state. |
String |
toString()
Deprecated. |
| Methods inherited from class bibliothek.gui.dock.dockable.AbstractDockable |
|---|
addDockableListener, addDockableStateListener, addDockHierarchyListener, addKeyListener, asDockable, bind, configureDisplayerHints, fireTitleBound, fireTitleExchanged, fireTitleExchanged, fireTitleIconChanged, fireTitleTextChanged, fireTitleTooltipChanged, fireTitleUnbound, getConfigurableDisplayerHints, getController, getDockableStateListeners, getDockElementObserver, getDockParent, getElement, getGlobalActionOffers, getLocalActionOffers, getPopupLocation, getTitleIcon, getTitleIconHandling, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, isUsedAsTitle, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeKeyListener, requestDisplayer, requestDockTitle, resetTitleIcon, setActionOffers, setController, setDockParent, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface bibliothek.gui.Dockable |
|---|
addDockableListener, addDockableStateListener, addDockHierarchyListener, bind, configureDisplayerHints, getController, getDockParent, getGlobalActionOffers, getLocalActionOffers, getTitleIcon, getTitleText, getTitleToolTip, isDockableShowing, isDockableVisible, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, requestDisplayer, requestDockTitle, setController, setDockParent, unbind |
| Methods inherited from interface bibliothek.gui.dock.DockElement |
|---|
asDockable |
| Methods inherited from interface bibliothek.gui.dock.DockElementRepresentative |
|---|
getElement, getPopupLocation, isUsedAsTitle, shouldFocus, shouldTransfersFocus |
| Methods inherited from interface bibliothek.gui.dock.station.support.PlaceholderListItem |
|---|
asDockable |
| Constructor Detail |
|---|
public ComponentDockable()
public ComponentDockable(Icon icon)
icon - the icon, to be shown at various placespublic ComponentDockable(String title)
title - the title, to be shown at various placespublic ComponentDockable(Component component)
component - the only child of the content pane
public ComponentDockable(Component component,
Icon icon)
component - the only child of the content paneicon - the icon, to be shown at various places
public ComponentDockable(Component component,
String title)
component - the only child of the content panetitle - the title, to be shown at various places
public ComponentDockable(Component component,
String title,
Icon icon)
component - the only child of the content panetitle - the title, to be shown at various placesicon - the icon, to be shown at various places| Method Detail |
|---|
public void addMouseInputListener(MouseInputListener listener)
addMouseInputListener in interface bibliothek.gui.dock.DockElementRepresentativeaddMouseInputListener in interface bibliothek.gui.DockableaddMouseInputListener in class bibliothek.gui.dock.dockable.AbstractDockablepublic void removeMouseInputListener(MouseInputListener listener)
removeMouseInputListener in interface bibliothek.gui.dock.DockElementRepresentativeremoveMouseInputListener in interface bibliothek.gui.DockableremoveMouseInputListener in class bibliothek.gui.dock.dockable.AbstractDockable
public void setComponent(Component component,
ExpandedState state)
Component which should be shown if in state
state. Please note that the same Component cannot be
used for more than one state.
component - the component to addstate - the state in which to show componentpublic void setExpandedState(ExpandedState state)
ExpandableToolbarItemstate.
setExpandedState in interface ExpandableToolbarItemstate - the new statepublic ExpandedState getExpandedState()
ExpandableToolbarItem
getExpandedState in interface ExpandableToolbarItempublic Component getComponent()
getComponent in interface bibliothek.gui.dock.DockElementRepresentativegetComponent in interface bibliothek.gui.Dockablepublic void addExpandableListener(ExpandableToolbarItemListener listener)
ExpandableToolbarItemlistener to this item.
addExpandableListener in interface ExpandableToolbarItemlistener - the new listener, not nullpublic void removeExpandableListener(ExpandableToolbarItemListener listener)
ExpandableToolbarItemlistener from this item.
removeExpandableListener in interface ExpandableToolbarItemlistener - the listener to removepublic bibliothek.gui.DockStation asDockStation()
asDockStation in interface bibliothek.gui.dock.DockElementpublic String getFactoryID()
getFactoryID in interface bibliothek.gui.dock.DockElementprotected bibliothek.gui.dock.util.icon.DockIcon createTitleIcon()
createTitleIcon in class bibliothek.gui.dock.dockable.AbstractDockablepublic boolean accept(bibliothek.gui.DockStation station)
accept in interface bibliothek.gui.Dockableaccept in class bibliothek.gui.dock.dockable.AbstractDockable
public boolean accept(bibliothek.gui.DockStation base,
bibliothek.gui.Dockable neighbour)
accept in interface bibliothek.gui.Dockableaccept in class bibliothek.gui.dock.dockable.AbstractDockablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||