|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.genui.UIResource<C>
javax.rad.genui.UIComponent<C>
javax.rad.genui.UIContainer<IGroupPanel>
javax.rad.genui.container.UIGroupPanel
public class UIGroupPanel
Platform and technology independent GroupPanel. It is designed for use with AWT, Swing, SWT, JSP, JSF,... .
Field Summary |
---|
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 |
Fields inherited from interface javax.rad.ui.IAlignmentConstants |
---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
Constructor Summary | |
---|---|
|
UIGroupPanel()
Creates a new instance of UIGroupPanel . |
protected |
UIGroupPanel(IGroupPanel pPanel)
Creates a new instance of UIGroupPanel with the given
group panel. |
|
UIGroupPanel(String pText)
Creates a new instance of UIGroupPanel with a specific text. |
Method Summary | |
---|---|
int |
getHorizontalAlignment()
Returns the alignment along the x axis. |
String |
getText()
Returns the text string that the label displays. |
int |
getVerticalAlignment()
Returns the alignment along the y axis. |
void |
setHorizontalAlignment(int pHorizontalAlignment)
Sets the horizontal alignment. |
void |
setText(String pText)
Defines the single line of text this component will display. |
void |
setVerticalAlignment(int pVerticalAlignment)
Sets the vertical alignment. |
void |
updateTranslation()
Notification for updating the translation. |
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 |
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.IResource |
---|
getResource |
Constructor Detail |
---|
public UIGroupPanel()
UIGroupPanel
.
IGroupPanel
protected UIGroupPanel(IGroupPanel pPanel)
UIGroupPanel
with the given
group panel.
pPanel
- the group panelIGroupPanel
public UIGroupPanel(String pText)
UIGroupPanel
with a specific text.
pText
- the text to display as titlesetText(String)
Method Detail |
---|
public String getText()
getText
in interface ILabel
ILabel.setText(java.lang.String)
public void setText(String pText)
setText
in interface ILabel
pText
- the textpublic int getHorizontalAlignment()
getHorizontalAlignment
in interface IAlignmentConstants
public void setHorizontalAlignment(int pHorizontalAlignment)
setHorizontalAlignment
in interface IAlignmentConstants
pHorizontalAlignment
- the new vertical alignmentpublic int getVerticalAlignment()
getVerticalAlignment
in interface IAlignmentConstants
public void setVerticalAlignment(int pVerticalAlignment)
setVerticalAlignment
in interface IAlignmentConstants
pVerticalAlignment
- the new vertical alignmentpublic void updateTranslation()
UIComponent
will be added to a displayable containment hierarchy,
when its containment hierarchy is made displayable or the translation table will
be changed.
updateTranslation
in class UIContainer<IGroupPanel>
UIComponent.setTranslation(TranslationMap)
,
UIComponent.addNotify()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |