|
||||||||||
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.GUILabelComponent
public class GUILabelComponent
A widget that contains an arbitrary text. Initial text (label) can be
specified by calling setLabel(String)
method. In the run-time,
text can dynamically change by binding other widget's output
pin with this widget's label
input pin (
ipLabel()
method).
Nested Class Summary | |
---|---|
static class |
GUILabelComponent.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUILabelComponent.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
static IClass |
CLASSIFIER
UML class reference |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
IAttributeValue<Text> |
label
Deprecated. Not for public use. |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.construction.GUIComponent |
---|
addStyle, context, description, enabled, init, inputBindings, layoutData, logger, name, outputBindings, ownerTable, parent, removeStyle, show, showInParent, styleName, tooltip, visible |
Constructor Summary | |
---|---|
GUILabelComponent()
|
|
GUILabelComponent(java.lang.String label)
Deprecated. |
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
void |
constructor(java.lang.String label)
Performs an initialization for this object. |
static GUILabelComponent |
create(GUIContainerComponent parent,
java.lang.String text)
Returns new GUILabelComponent with the given
text (label) and assigns it to the given parent. |
static GUILabelComponent |
create(GUIContainerComponent parent,
java.lang.String text,
int row,
int column)
Returns new GUILabelComponent with the given
text (label), places it in the parent's table layout according
to the given row and column, and assigns it to the given parent. |
static GUILabelComponent |
create(GUIContainerComponent parent,
java.lang.String text,
int row,
int column,
int rowSpan,
int colSpan)
Deprecated. Not for public use. |
static GUILabelComponent |
create(GUIContainerComponent parent,
java.lang.String text,
LayoutData layoutData)
Returns new GUILabelComponent with the given
text (label), places it in the parent's layout according to
the given LayoutData , and assigns it to the
given parent. |
rs.sol.soloist.client.common.info.LabelInfo |
createSpecificInfo()
Creates and returns an empty serializable object of the appropriate ComponentInfo sub-class. |
java.lang.String |
getLabel()
Returns this widget label. |
ISlot<?> |
ipLabel()
Returns the label input pin; when event occurs,
the textual content from the binding message will be used to
set this widget's label. |
void |
setLabel(java.lang.String label)
Sets this widget label. |
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 IAttributeValue<Text> label
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
@Deprecated public GUILabelComponent(java.lang.String label)
public GUILabelComponent()
Method Detail |
---|
public void constructor(java.lang.String label)
label
- the String containing an arbitrary text to be displayedpublic void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUIComponent
public rs.sol.soloist.client.common.info.LabelInfo createSpecificInfo()
GUIComponent
ComponentInfo
sub-class. The returned object must be able to
transmit every property of objects of this class from server to
clients (browsers).
ComponentInfo
sub-class instancepublic static GUILabelComponent create(GUIContainerComponent parent, java.lang.String text)
GUILabelComponent
with the given
text (label) and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgettext
- the label's text or label
GUILabelComponent
public static GUILabelComponent create(GUIContainerComponent parent, java.lang.String text, LayoutData layoutData)
GUILabelComponent
with the given
text (label), places it in the parent's layout according to
the given LayoutData
, and assigns it to the
given parent.
parent
- the parent GUIContainerComponent
widgettext
- the label's text or labellayoutData
- the layout data of the new label
GUILabelComponent
public static GUILabelComponent create(GUIContainerComponent parent, java.lang.String text, int row, int column)
GUILabelComponent
with the given
text (label), places it in the parent's table layout according
to the given row and column, and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgettext
- the label's text or labelrow
- the row in the parent tablecolumn
- the column in the parent table
GUILabelComponent
public ISlot<?> ipLabel()
label
input pin; when event occurs,
the textual content from the binding message will be used to
set this widget's label.
label
input pinGUIComponentBinding
public java.lang.String getLabel()
setLabel(String)
public void setLabel(java.lang.String label)
label
- new widget's label@Deprecated public static GUILabelComponent create(GUIContainerComponent parent, java.lang.String text, int row, int column, int rowSpan, int colSpan)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |