bibliothek.gui.dock.common.action
Class CButton
java.lang.Object
   bibliothek.gui.dock.common.action.CAction
bibliothek.gui.dock.common.action.CAction
       bibliothek.gui.dock.common.intern.action.CDecorateableAction
bibliothek.gui.dock.common.intern.action.CDecorateableAction
           bibliothek.gui.dock.common.intern.action.CDropDownItem
bibliothek.gui.dock.common.intern.action.CDropDownItem
               bibliothek.gui.dock.common.action.CButton
bibliothek.gui.dock.common.action.CButton
- @Todo(compatibility=BREAK_MINOR,
      priority=ENHANCEMENT,
      target=VERSION_1_1_0,
      description="Allow some listener (ActionListener?) instead of action method. Remove \'abstract\'.")
public abstract class CButton
- extends CDropDownItem
A simple button, the user clicks onto the button and action() is called.
- Author:
- Benjamin Sigg
 
| Method Summary | 
| protected abstract  void | action()Invoked when the user clicks onto this button.
 | 
 
 
| Methods inherited from class bibliothek.gui.dock.common.intern.action.CDecorateableAction | 
| getAccelerator, getDisabledIcon, getIcon, getText, getTooltip, init, isEnabled, setAccelerator, setDisabledIcon, setEnabled, setIcon, setText, setTooltip | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CButton
public CButton()
- Creates the new button
 
CButton
public CButton(String text,
               Icon icon)
- Creates a new button.
 
- Parameters:
- text- the text of this button
- icon- the icon of this button
 
action
protected abstract void action()
- Invoked when the user clicks onto this button.
 
-