|
||||||||||
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<IPanel>
javax.rad.genui.container.UIPanel
javax.rad.application.genui.Content
public class Content
The Content
is the default IContent
implementation and extends
an UIPanel
.
Field Summary |
---|
Fields inherited from class javax.rad.genui.container.UIPanel |
---|
imgBack |
Fields inherited from class javax.rad.genui.UIContainer |
---|
allComponents, components |
Fields inherited from class javax.rad.genui.UIComponent |
---|
bTranslate, lLastTranslationModified, parent, popupMenu |
Fields inherited from class javax.rad.genui.UIResource |
---|
uiResource |
Constructor Summary | |
---|---|
Content()
Creates a new instance of Content . |
|
Content(UILayout pLayout)
Creates a new instance of Content . |
Method Summary | ||
---|---|---|
void |
addNotify()
Makes this UIComponent displayable by adding it to an UIContainer . |
|
protected java.lang.String |
createComponentName()
Creates a name for this UIComponent . |
|
|
getOpener()
Gets the opener of the content. |
|
boolean |
isDestroyed()
Gets whether the content is already destroyed. |
|
void |
notifyDestroy()
Notifies the content, that it will be destroyed. |
|
void |
notifyVisible()
Notifies the content, that it is now positioned and showing. |
|
|
setOpener(OP pOpener)
Sets the opener of the content. |
Methods inherited from class javax.rad.genui.container.UIPanel |
---|
getBackgroundImage, setBackgroundImage |
Methods inherited from class javax.rad.genui.UIContainer |
---|
add, add, add, add, addInternal, beforeAddNotify, checkAdd, contains, getComponent, getComponentCount, getComponents, getInsets, getLayout, getUIResourceContainer, indexOf, remove, remove, removeAll, removeInternal, removeNotify, setLayout, setUIResourceContainer, setZOrder, updateTranslation |
Methods inherited from class javax.rad.genui.UIResource |
---|
eventResourceChanged, eventResourceChanged, fireResourceChanged, getObject, getObjectNames, getUIResource, hasResourceHandler, putObject, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.rad.ui.IResource |
---|
getResource |
Methods inherited from interface javax.rad.ui.IContainer |
---|
add, add, add, add, getComponent, getComponentCount, getLayout, indexOf, remove, remove, removeAll, setLayout |
Constructor Detail |
---|
public Content()
Content
.
public Content(UILayout pLayout)
Content
.
pLayout
- the layout.Method Detail |
---|
public <OP> void setOpener(OP pOpener)
setOpener
in interface IContent
OP
- the opener typepOpener
- the opener component or null
if the component is
unknownpublic <OP> OP getOpener()
getOpener
in interface IContent
OP
- the opener type
null
if the opener is unknownpublic void notifyVisible()
notifyVisible
in interface IContent
public void notifyDestroy()
notifyDestroy
in interface IContent
public boolean isDestroyed()
isDestroyed
in interface IContent
true
if content is destroyed, false
otherwisepublic void addNotify()
UIComponent
displayable by adding it to an UIContainer
.
This method is called internally by the genui and should not be called directly.
addNotify
in class UIContainer<IPanel>
UIComponent.removeNotify()
,
UIComponent.isNotified()
protected java.lang.String createComponentName()
UIComponent
.
The returned name needs to be unique in the current root/workscreen and
is ideally, but not necessarily, prefixed with the UIComponent.sRootName
,
if there is any.
Overriding classes should be aware that this method will be called in
UIComponent.addNotify()
and the returned name will only be assigned to the
UIComponent
if there isn't already a name set. Also
UIComponent.stExistingNames
can be used to find out if a name has already
been assigned, and UIComponent.sRootName
to get the root name.
In rare cases UIComponent.stExistingNames
and/or UIComponent.sRootName
might
be null
when this method is called.
createComponentName
in class UIComponent<IPanel>
UIComponent
.UIComponent.getExistingNames()
,
UIComponent.getRootName()
,
UIComponent.incrementNameIfExists(String, Set, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |