bibliothek.gui.dock.themes.basic.action
Class BasicDropDownButtonHandler.ButtonView

java.lang.Object
  extended by bibliothek.gui.dock.themes.basic.action.BasicDropDownButtonHandler.ButtonView
All Implemented Interfaces:
DropDownView
Enclosing class:
BasicDropDownButtonHandler

protected class BasicDropDownButtonHandler.ButtonView
extends java.lang.Object
implements DropDownView

A view that sends all values directly to the button.

Author:
Benjamin Sigg

Constructor Summary
protected BasicDropDownButtonHandler.ButtonView()
           
 
Method Summary
 void setDisabledIcon(javax.swing.Icon icon)
          Sets the disabled icon of the button.
 void setDockableRepresentation(Dockable dockable)
          Sets the Dockable which is represented by the view.
 void setEnabled(boolean enabled)
          Sets the enabled-state of the button.
 void setIcon(javax.swing.Icon icon)
          Sets the icon of the button.
 void setSelected(boolean selected)
          Sets the selected-state of the button.
 void setText(java.lang.String text)
          Sets the text of the button.
 void setTooltip(java.lang.String tooltip)
          Sets the tooltip of the button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicDropDownButtonHandler.ButtonView

protected BasicDropDownButtonHandler.ButtonView()
Method Detail

setDisabledIcon

public void setDisabledIcon(javax.swing.Icon icon)
Description copied from interface: DropDownView
Sets the disabled icon of the button.

Specified by:
setDisabledIcon in interface DropDownView
Parameters:
icon - the disabled icon

setEnabled

public void setEnabled(boolean enabled)
Description copied from interface: DropDownView
Sets the enabled-state of the button.

Specified by:
setEnabled in interface DropDownView
Parameters:
enabled - the state

setIcon

public void setIcon(javax.swing.Icon icon)
Description copied from interface: DropDownView
Sets the icon of the button.

Specified by:
setIcon in interface DropDownView
Parameters:
icon - the icon

setSelected

public void setSelected(boolean selected)
Description copied from interface: DropDownView
Sets the selected-state of the button.

Specified by:
setSelected in interface DropDownView
Parameters:
selected - the state

setText

public void setText(java.lang.String text)
Description copied from interface: DropDownView
Sets the text of the button.

Specified by:
setText in interface DropDownView
Parameters:
text - the text

setTooltip

public void setTooltip(java.lang.String tooltip)
Description copied from interface: DropDownView
Sets the tooltip of the button.

Specified by:
setTooltip in interface DropDownView
Parameters:
tooltip - the tooltip

setDockableRepresentation

public void setDockableRepresentation(Dockable dockable)
Description copied from interface: DropDownView
Sets the Dockable which is represented by the view.

Specified by:
setDockableRepresentation in interface DropDownView
Parameters:
dockable - the represented element, can be null