|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance rs.sol.soloist.server.builtindomains.common.ObjectOfClass rs.sol.soloist.server.guiconfiguration.construction.GUIComponent rs.sol.soloist.server.guiconfiguration.components.GUIContainerComponent rs.sol.soloist.server.guiconfiguration.components.GUIApplicationComponent
public class GUIApplicationComponent
The root widget in a GUI tree. This widget can be viewed as a web page, or as a single-page web application. Strictly has a single child widget, which is typically a panel to which all other widgets must ultimatively be added.
Code example:
GUIApplicationComponent app = new GUIApplicationComponent(); app.setName("Example App"); GUIPanelComponent rootPanel = GUIPanelComponent.createFlow(app); rootPanel.add(...); rootPanel.add(...);
Nested Class Summary | |
---|---|
static class |
GUIApplicationComponent.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUIApplicationComponent.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
static IClass |
CLASSIFIER
UML class reference |
IAttributeValue<File> |
cssFile1
Deprecated. Not for public use. |
IAttributeValue<File> |
cssFile2
Deprecated. Not for public use. |
IAttributeValue<File> |
cssFile3
Deprecated. Not for public use. |
IAttributeValue<Text> |
cssURLs
Deprecated. Not for public use. |
IAssociationEndInstance<GUIDialogComponent> |
dialogs
Deprecated. Not for public use. |
IAttributeValue<Text> |
doctype
Deprecated. Not for public use. |
IAttributeValue<Picture> |
favIcon
Deprecated. Not for public use. |
IAttributeValue<Text> |
favIconURL
Deprecated. Not for public use. |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
IAttributeValue<Text> |
scrollToTop
Deprecated. Not for public use. |
IAttributeValue<Text> |
start
Deprecated. Not for public use. |
IAttributeValue<Text> |
title
Deprecated. Not for public use. |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.components.GUIContainerComponent |
---|
back, children, forward, input, logger, next, output, previous, refresh, reset, submit, visibleChild |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.construction.GUIComponent |
---|
addStyle, context, description, enabled, init, inputBindings, layoutData, name, outputBindings, ownerTable, parent, removeStyle, show, showInParent, styleName, tooltip, visible |
Constructor Summary | |
---|---|
GUIApplicationComponent()
|
Method Summary | |
---|---|
void |
addDialog(GUIDialogComponent d)
Adds a GUIDialogComponent to this widget. |
void |
clearDialogs()
Clears all dialogs from this widget. |
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUIApplicationComponent |
findByName(java.lang.String name)
Deprecated. Not for public use. |
static GUIApplicationComponent |
get(GUIComponent c)
Deprecated. Not for public use. |
java.io.File |
getCssFile1()
Returns the first CSS file. |
java.io.File |
getCssFile2()
Returns the second CSS file. |
java.io.File |
getCssFile3()
Returns the third CSS file. |
java.lang.String[] |
getCssURLs()
Returns an array of the CSS URLs set for this widget. |
java.lang.String |
getDoctype()
Sets the doctype of a web page resembled by this widget. |
java.io.File |
getFavIcon()
Returns the favicon file. |
java.lang.String |
getFavIconURL()
Returns the favicon URL. |
java.lang.String |
getTitle()
Returns this widget's title. |
ISlot<?> |
ipScrollToTop()
Returns the scrollToTop input pin; when event occurs,
the web page will immediately be scrolled up to the top. |
ISlot<?> |
ipTitle()
Returns the title input pin; when event occurs,
the textual binding message content will become a new title of
this widget. |
ISlot<?> |
opStart()
Returns the start output pin; when this widget
finishes with construction of its whole sub-tree (which represents
the application or a web page) it issues an empty binding message
to signal this event to other interested widget. |
void |
removeDialog(GUIDialogComponent d)
Removes a GUIDialogComponent from this widget. |
void |
setCssFile1(java.io.File css1)
Sets the first CSS file. |
void |
setCssFile2(java.io.File css2)
Sets the second CSS file. |
void |
setCssFile3(java.io.File css3)
Sets the third CSS file. |
void |
setCssURLs(java.lang.String... cssURLs)
Sets an array of the CSS URLs of the CSS files that will be used in the (sub)tree of this widget. |
void |
setDoctype(java.lang.String doctype)
Sets the doctype of the web page resembled by this widget. |
void |
setFavIcon(java.io.File favicon)
Sets the favicon file. |
void |
setFavIconURL(java.lang.String faviconURL)
Sets the favicon URL. |
void |
setTitle(java.lang.String title)
Sets this widget's title |
void |
validate()
Validates a configuration settings of this widget. |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.components.GUIContainerComponent |
---|
add, addFirst, clear, get, getVisibleChild, ipBack, ipForward, ipNext, ipPrevious, ipRefresh, ipRelay1, ipRelay2, ipReset, ipSubmit, ipVisibleChild, opRelay1, opRelay2, opVisibleChild, remove, removeFirst, setVisibleChild, validateSingleChild |
Methods inherited from class rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance |
---|
destroy, equals, getAssociationEndInstance, getAssociationEndInstances, getAttributeValue, getAttributeValues, getMyClass, getMyID, getSlot, getSlot, getSlots, getUMLClass, hashCode, isMarkedAsDeleted, toString |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance |
---|
accept, accept, exists, getAssociationEndInstance, getAssociationEndInstance, getAssociationEndInstance, getClassifier, hasIdentity, isClassInstance, isDataTypeInstance, isEqualTo, makeClone, markAsDeleted |
Methods inherited from class rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance |
---|
conformsTo, copySlots, copySlots, getAttributeValue, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getMElement, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf, isKindOf, isModelElement, isRTElement |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IClassifierInstance |
---|
conformsTo, copySlots, copySlots, getAttributeValue, getAttributeValue, getClassifierFQName, getClassifierUQName, getFirstCommonGeneralizer, getFirstCommonGeneralizerFQName, getFirstCommonGeneralizerUQName, getSlot, getSlot, isDirectInstanceOf, isDirectInstanceOf, isInstanceOf, isInstanceOf |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.runtime.IRTElement |
---|
getMElement |
Methods inherited from interface rs.sol.soloist.server.uml.concepts.IElement |
---|
isKindOf, isModelElement, isRTElement |
Field Detail |
---|
@Deprecated public final IAttributeValue<Text> start
@Deprecated public final IAttributeValue<Text> title
@Deprecated public final IAttributeValue<Text> scrollToTop
@Deprecated public final IAttributeValue<Text> cssURLs
@Deprecated public final IAttributeValue<File> cssFile1
@Deprecated public final IAttributeValue<File> cssFile2
@Deprecated public final IAttributeValue<File> cssFile3
@Deprecated public final IAttributeValue<Text> favIconURL
@Deprecated public final IAttributeValue<Picture> favIcon
@Deprecated public final IAttributeValue<Text> doctype
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
@Deprecated public final IAssociationEndInstance<GUIDialogComponent> dialogs
Constructor Detail |
---|
public GUIApplicationComponent()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUIContainerComponent
public void validate()
GUIComponent
validate
in class GUIContainerComponent
@Deprecated public static GUIApplicationComponent get(GUIComponent c)
@Deprecated public static GUIApplicationComponent findByName(java.lang.String name)
public ISlot<?> ipTitle()
title
input pin; when event occurs,
the textual binding message content will become a new title of
this widget.
title
input pinGUIComponentBinding
public ISlot<?> ipScrollToTop()
scrollToTop
input pin; when event occurs,
the web page will immediately be scrolled up to the top. The binding
message content is of no importance. Only event is what matters.
scrollToTop
input pinGUIComponentBinding
public ISlot<?> opStart()
start
output pin; when this widget
finishes with construction of its whole sub-tree (which represents
the application or a web page) it issues an empty binding message
to signal this event to other interested widget.
start
output pinGUIComponentBinding
public java.lang.String[] getCssURLs()
setCssURLs(String...)
public void setCssURLs(java.lang.String... cssURLs)
cssURLs
- an array of the CSS URLspublic java.lang.String getFavIconURL()
setFavIconURL(String)
public void setFavIconURL(java.lang.String faviconURL)
faviconURL
- the favicon URLpublic java.lang.String getTitle()
setTitle(String)
public void setTitle(java.lang.String title)
title
- the new titlepublic java.lang.String getDoctype()
setDoctype(String)
public void setDoctype(java.lang.String doctype)
doctype
- the doctype of this web pagepublic java.io.File getCssFile1()
setCssFile1(java.io.File)
public void setCssFile1(java.io.File css1) throws java.io.IOException
css1
- the first CSS file
java.io.IOException
public java.io.File getCssFile2()
setCssFile2(java.io.File)
public void setCssFile2(java.io.File css2) throws java.io.IOException
css2
- the secondCSS file
java.io.IOException
public java.io.File getCssFile3()
setCssFile3(java.io.File)
public void setCssFile3(java.io.File css3) throws java.io.IOException
css3
- the third CSS file
java.io.IOException
public java.io.File getFavIcon()
setFavIcon(java.io.File)
public void setFavIcon(java.io.File favicon) throws java.io.IOException
favicon
- the favicon file
java.io.IOException
public void addDialog(GUIDialogComponent d)
GUIDialogComponent
to this widget.
d
- the dialog to be addedpublic void removeDialog(GUIDialogComponent d)
GUIDialogComponent
from this widget.
d
- the dialog to be removedpublic void clearDialogs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |