|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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<JVxPanel>
com.sibvisions.rad.ui.swing.impl.container.SwingPanel
public class SwingPanel
The SwingPanel is the IPanel
implementation for swing.
JPanel,
IPanel| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtComponent |
|---|
factory, parent |
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
SwingPanel()
Creates a new instance of SwingPanel. |
|
| Method Summary | |
|---|---|
IImage |
getBackgroundImage()
Gets the background image of the panel. |
void |
setBackground(IColor pBackground)
Sets the background color of this component. The background color affects each component differently and the parts of the component that are affected by the background color may differ between operating systems. |
void |
setBackgroundImage(IImage pImage)
Sets a background image for the panel. |
| Methods inherited from class com.sibvisions.rad.ui.swing.impl.SwingComponent |
|---|
capture, getToolTipText, setToolTipText |
| 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.AwtResource |
|---|
equals, getResource, 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.IResource |
|---|
getResource |
| Constructor Detail |
|---|
public SwingPanel()
SwingPanel.
| Method Detail |
|---|
public void setBackground(IColor pBackground)
The background color affects each component differently and the parts of the component that are affected by the background color may differ between operating systems.
setBackground in interface IComponentsetBackground in class AwtComponent<JVxPanel>pBackground - the color to become this component's color;
if this parameter is null, then this
component will inherit the background color of its parentIComponent.getBackground()public void setBackgroundImage(IImage pImage)
setBackgroundImage in interface IPanelpImage - the background imagepublic IImage getBackgroundImage()
getBackgroundImage in interface IPanelnull if no background is set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||