javax.rad.genui.container
Class UIPanel

java.lang.Object
  extended by javax.rad.genui.UIResource<C>
      extended by javax.rad.genui.UIComponent<C>
          extended by javax.rad.genui.UIContainer<IPanel>
              extended by javax.rad.genui.container.UIPanel
All Implemented Interfaces:
ITranslatable, IPanel, IComponent, IContainer, IResource, INamedObject
Direct Known Subclasses:
Content

public class UIPanel
extends UIContainer<IPanel>
implements IPanel

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


Field Summary
protected  IImage imgBack
          the background image.
 
Fields inherited from class javax.rad.genui.UIContainer
components
 
Fields inherited from class javax.rad.genui.UIComponent
lLastTranslationModified, parent
 
Fields inherited from class javax.rad.genui.UIResource
uiResource
 
Constructor Summary
  UIPanel()
          Creates a new instance of UIPanel.
protected UIPanel(IPanel pPanel)
          Creates a new instance of UIPanel with the given panel.
  UIPanel(UILayout pLayout)
          Creates a new instance of UIPanel.
 
Method Summary
 IImage getBackgroundImage()
          Gets the background image of the panel.
 void setBackgroundImage(IImage pImage)
          Sets a background image for the panel.
 
Methods inherited from class javax.rad.genui.UIContainer
add, add, add, add, addNotify, beforeAddNotify, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeNotify, setLayout, setZOrder, updateTranslation
 
Methods inherited from class javax.rad.genui.UIComponent
capture, createCellFormatter, createNodeFormatter, debug, error, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getComponentUIResource, getCurrentTranslation, getCursor, getEventSource, getFactory, getFont, getForeground, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getResource, getSize, getToolTipText, getTranslation, info, invokeAndWait, invokeAndWait, invokeInThread, invokeInThread, invokeLater, invokeLater, isBackgroundSet, isBeforeNotified, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isNotified, isPreferredSizeSet, isTranslationChanged, isTranslationEnabled, isVisible, requestFocus, setBackground, setBounds, setBounds, setCursor, setEnabled, setEventSource, setFocusable, setFont, setForeground, setLocation, setLocation, setLocationRelativeTo, setMaximumSize, setMaximumSize, setMinimumSize, setMinimumSize, setName, setParent, setPreferredSize, setPreferredSize, setSize, setSize, setToolTipText, setTranslation, setTranslationEnabled, setVisible, translate
 
Methods inherited from class javax.rad.genui.UIResource
equals, getUIResource, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.rad.ui.IContainer
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout
 
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
 

Field Detail

imgBack

protected IImage imgBack
the background image.

Constructor Detail

UIPanel

public UIPanel()
Creates a new instance of UIPanel.

See Also:
IPanel

UIPanel

protected UIPanel(IPanel pPanel)
Creates a new instance of UIPanel with the given panel.

Parameters:
pPanel - the panel.
See Also:
IPanel

UIPanel

public UIPanel(UILayout pLayout)
Creates a new instance of UIPanel.

Parameters:
pLayout - the layout.
See Also:
IPanel
Method Detail

setBackgroundImage

public void setBackgroundImage(IImage pImage)
Sets a background image for the panel.

Specified by:
setBackgroundImage in interface IPanel
Parameters:
pImage - the background image

getBackgroundImage

public IImage getBackgroundImage()
Gets the background image of the panel.

Specified by:
getBackgroundImage in interface IPanel
Returns:
the background image or null if no background is set


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.