com.sibvisions.rad.ui.swing.impl.container
Class SwingGroupPanel
java.lang.Object
com.sibvisions.rad.ui.awt.impl.AwtResource<C>
com.sibvisions.rad.ui.awt.impl.AwtComponent<C>
com.sibvisions.rad.ui.awt.impl.AwtContainer<C>
com.sibvisions.rad.ui.swing.impl.SwingComponent<JPanel>
com.sibvisions.rad.ui.swing.impl.container.SwingGroupPanel
- All Implemented Interfaces:
- ComponentListener, KeyListener, MouseListener, EventListener, ILabel, IGroupPanel, IAlignmentConstants, IComponent, IContainer, IResource, INamedObject
public class SwingGroupPanel
- extends SwingComponent<JPanel>
- implements IGroupPanel
The SwingGroupPanel
is the IGroupPanel
implementation for swing.
- See Also:
JPanel
,
IGroupPanel
Constructor Summary |
SwingGroupPanel()
Creates a new instance of SwingGroupPanel . |
Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtContainer |
add, add, add, add, addIntern, checkAdd, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, removeIntern, setLayout, setLayoutIntern |
Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent |
componentHidden, componentMoved, componentResized, componentShown, createImage, eventComponentMoved, eventComponentResized, eventKeyPressed, eventKeyReleased, eventKeyTyped, eventMouseClicked, eventMouseEntered, eventMouseExited, eventMousePressed, eventMouseReleased, getBackground, getBounds, getCursor, getEventSource, getFactory, getFont, getForeground, getHorizontalAlignment, getLocation, getLocationRelativeTo, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getVerticalAlignment, isBackgroundSet, isCursorSet, isEnabled, isFocusable, isFontSet, isForegroundSet, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isVisible, keyPressed, keyReleased, keyTyped, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, requestFocus, setBounds, setCursor, setEnabled, setEventSource, setFactory, setFocusable, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setVisible, validate |
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, setLocation, setLocationRelativeTo, setMaximumSize, setMinimumSize, setName, setParent, setPreferredSize, setSize, setToolTipText, setVisible |
SwingGroupPanel
public SwingGroupPanel()
- Creates a new instance of
SwingGroupPanel
.
getText
public String getText()
- Returns the text string that the label displays.
- Specified by:
getText
in interface ILabel
- Returns:
- a String
- See Also:
ILabel.setText(java.lang.String)
setText
public void setText(String pText)
- Defines the single line of text this component will display. If
the value of text is null or empty string, nothing is displayed.
- Specified by:
setText
in interface ILabel
- Parameters:
pText
- the text
setHorizontalAlignment
public void setHorizontalAlignment(int pHorizontalAlignment)
- Sets the horizontal alignment.
Possible values are defined in AlignmentConstants.
- Specified by:
setHorizontalAlignment
in interface IAlignmentConstants
- Overrides:
setHorizontalAlignment
in class AwtComponent<JPanel>
- Parameters:
pHorizontalAlignment
- the new vertical alignment
setVerticalAlignment
public void setVerticalAlignment(int pVerticalAlignment)
- Sets the vertical alignment.
Possible values are defined in AlignmentConstants.
- Specified by:
setVerticalAlignment
in interface IAlignmentConstants
- Overrides:
setVerticalAlignment
in class AwtComponent<JPanel>
- Parameters:
pVerticalAlignment
- the new vertical alignment
setFont
public void setFont(IFont pFont)
- Sets the
IFont
of this component.
- Specified by:
setFont
in interface IComponent
- Overrides:
setFont
in class AwtComponent<JPanel>
- Parameters:
pFont
- the IFont
to become this component's font;
if this parameter is null
then this
component will inherit the font of its parent- See Also:
IComponent.getFont()
setForeground
public void setForeground(IColor pColor)
- Sets the foreground color of this component.
- Specified by:
setForeground
in interface IComponent
- Overrides:
setForeground
in class AwtComponent<JPanel>
- Parameters:
pColor
- the color to become this component's
foreground color; if this parameter is null
then this component will inherit the foreground color of
its parent- See Also:
IComponent.getForeground()
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.