javax.rad.ui.component
Interface IIcon

All Superinterfaces:
IAlignmentConstants, IComponent, INamedObject, IResource
All Known Subinterfaces:
IActionComponent, IButton, ICheckBox, ICheckBoxMenuItem, IMenu, IMenuItem, IRadioButton, IToggleActionComponent, IToggleButton
All Known Implementing Classes:
AbstractUIActionComponent, AbstractUIButton, AbstractUIMenuItem, AbstractUIToggleButton, SwingAbstractButton, SwingButton, SwingCheckBox, SwingCheckBoxMenuItem, SwingIcon, SwingMenu, SwingMenuItem, SwingRadioButton, SwingToggleButton, UIButton, UICheckBox, UICheckBoxMenuItem, UIIcon, UIMenu, UIMenuItem, UIRadioButton, UIToggleButton

public interface IIcon
extends IComponent, IAlignmentConstants

Platform and technology independent Icon definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Field Summary
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Method Summary
 IImage getImage()
          Returns the default image.
 void setImage(IImage pImage)
          Sets the default image.
 
Methods inherited from interface javax.rad.ui.IComponent
capture, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, 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, setToolTipText, setVisible
 
Methods inherited from interface javax.rad.ui.IResource
getResource
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Method Detail

getImage

IImage getImage()
Returns the default image.

Returns:
the default image
See Also:
setImage(IImage)

setImage

void setImage(IImage pImage)
Sets the default image.

Parameters:
pImage - the image
See Also:
getImage()


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.