javax.rad.genui.component
Class UIButton
java.lang.Object
javax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<C>
javax.rad.genui.component.AbstractUILabeledIcon<C>
javax.rad.genui.component.AbstractUIActionComponent<C>
javax.rad.genui.component.AbstractUIButton<IButton>
javax.rad.genui.component.UIButton
- All Implemented Interfaces:
- ITranslatable, IActionComponent, IButton, IIcon, ILabel, ILabeledIcon, IAlignmentConstants, IComponent, IResource, INamedObject, ITranslator
public class UIButton
- extends AbstractUIButton<IButton>
Platform and technology independent button.
It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .
| Methods inherited from class javax.rad.genui.component.AbstractUIButton |
getHorizontalTextPosition, getImageTextGap, getMouseOverImage, getPressedImage, getVerticalTextPosition, isBorderOnMouseEntered, isBorderPainted, isDefaultButton, setBorderOnMouseEntered, setBorderPainted, setDefaultButton, setHorizontalTextPosition, setImageTextGap, setMouseOverImage, setPressedImage, setVerticalTextPosition |
| Methods inherited from class javax.rad.genui.component.AbstractUILabeledIcon |
getHorizontalAlignment, getImage, getText, getVerticalAlignment, isPreserveAspectRatio, setHorizontalAlignment, setImage, setPreserveAspectRatio, setText, setVerticalAlignment, updateTranslation |
| Methods inherited from class javax.rad.genui.UIComponent |
addNotify, beforeAddNotify, capture, createComponentNamePrefix, createSimplifiedClassName, debug, doEventKey, doTriggerPopMenu, equals, error, eventComponentMoved, eventComponentResized, eventFocusGained, eventFocusLost, eventKey, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getComponentUIResource, getCurrentTranslation, getCursor, getDefaultName, getEventSource, getExistingNames, getFactory, getFont, getForeground, getLocation, getLocationOffset, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPopupMenu, getPreferredSize, getResource, getRootName, getSize, getStyle, getTabIndex, getToolTipText, getTranslation, getUIComponent, hashCode, incrementNameIfExists, info, invokeAndWait, invokeAndWait, invokeInThread, invokeInThread, invokeLater, invokeLater, isBackgroundSet, isBeforeNotified, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isNotified, isPreferredSizeSet, isTranslationChanged, isTranslationEnabled, isVisible, removeNotify, requestFocus, setBackground, setBounds, setBounds, setCursor, setDefaultName, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocation, setLocationRelativeTo, setMaximumSize, setMaximumSize, setMinimumSize, setMinimumSize, setName, setParent, setPopupMenu, setPreferredSize, setPreferredSize, setRootName, setSize, setSize, setStyle, setTabIndex, setToolTipText, setTranslation, setTranslationEnabled, setUIComponent, setVisible, translate |
| Methods inherited from interface javax.rad.ui.IComponent |
capture, eventComponentMoved, eventComponentResized, eventFocusGained, eventFocusLost, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getStyle, getTabIndex, getToolTipText, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, requestFocus, setBackground, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setStyle, setTabIndex, setToolTipText, setVisible |
UIButton
public UIButton()
- Creates a new instance of
UIButton.
- See Also:
IButton
UIButton
protected UIButton(IButton pButton)
- Creates a new instance of
UIButton with the given
button.
- Parameters:
pButton - the button- See Also:
IButton
UIButton
public UIButton(String pText)
- Creates a new instance of
UIButton.
- Parameters:
pText - the label of the button.- See Also:
IButton
UIButton
public UIButton(String pText,
IImage pImage)
- Creates a new instance of
UIButton.
- Parameters:
pText - the text.pImage - the image.- See Also:
AbstractUILabeledIcon.setImage(IImage),
AbstractUILabeledIcon.setText(String)
UIButton
public UIButton(String pText,
IActionListener pActionListener)
- Creates a new instance of
UIButton.
- Parameters:
pText - the text.pActionListener - the action listener.- See Also:
AbstractUIActionComponent.eventAction(),
AbstractUILabeledIcon.setText(String)
UIButton
public UIButton(String pText,
Object pListener,
String pMethodName)
- Creates a new instance of
UIButton.
- Parameters:
pText - the text.pListener - the listener.pMethodName - the method name.- See Also:
AbstractUIActionComponent.eventAction(),
AbstractUILabeledIcon.setText(String)
UIButton
public UIButton(String pText,
IImage pImage,
IActionListener pActionListener)
- Creates a new instance of
UIButton.
- Parameters:
pText - the text.pImage - the image.pActionListener - the action listener.- See Also:
AbstractUIActionComponent.eventAction(),
AbstractUILabeledIcon.setImage(IImage),
AbstractUILabeledIcon.setText(String)
UIButton
public UIButton(String pText,
IImage pImage,
Object pListener,
String pMethodName)
- Creates a new instance of
UIButton.
- Parameters:
pText - the text.pImage - the image.pListener - the listener.pMethodName - the method name.- See Also:
AbstractUIActionComponent.eventAction(),
AbstractUILabeledIcon.setImage(IImage),
AbstractUILabeledIcon.setText(String)
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.