|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.action.view.ConnectingViewItem<JComponent>
bibliothek.extension.gui.dock.theme.bubble.RoundButtonViewItem
public class RoundButtonViewItem
A BasicTitleViewItem that connects a RoundButton with
the DockController when bound and when a controller is available.
| Constructor Summary | |
|---|---|
RoundButtonViewItem(Dockable dockable,
BasicTitleViewItem<JComponent> delegate,
RoundButtonConnectable button)
Creates a new view item. |
|
| Method Summary | |
|---|---|
protected void |
changed(DockController oldController,
DockController newController)
Called when the DockController changed. |
void |
setBackground(Color background)
Called by the title that shows this item to tell this item what the background color of the title is. |
void |
setForeground(Color foreground)
Called by the title that shows this item to tell this item what the foreground color of the title is. |
void |
setOrientation(DockTitle.Orientation orientation)
Informs the item about the orientation of the title that uses this item. |
| Methods inherited from class bibliothek.gui.dock.action.view.ConnectingViewItem |
|---|
bind, check, getAction, getItem, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface bibliothek.gui.dock.action.view.ViewItem |
|---|
bind, getAction, getItem, unbind |
| Constructor Detail |
|---|
public RoundButtonViewItem(Dockable dockable,
BasicTitleViewItem<JComponent> delegate,
RoundButtonConnectable button)
dockable - the element to observe to get a DockControllerdelegate - used to do all the other tasksbutton - the button which should be connected| Method Detail |
|---|
public void setBackground(Color background)
BasicTitleViewItem
setBackground in interface BasicTitleViewItem<JComponent>background - the background color of the titlepublic void setForeground(Color foreground)
BasicTitleViewItem
setForeground in interface BasicTitleViewItem<JComponent>foreground - the foreground color of the title
protected void changed(DockController oldController,
DockController newController)
ConnectingViewItemDockController changed.
changed in class ConnectingViewItem<JComponent>oldController - the old controller, can be nullnewController - the new controller, can be nullpublic void setOrientation(DockTitle.Orientation orientation)
BasicTitleViewItem
setOrientation in interface BasicTitleViewItem<JComponent>orientation - the orientation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||