|
||||||||||
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.GUITabComponent
public class GUITabComponent
A container widget that displays its child widgets in a tabbed layout. Which child will be displayed in the run-time at a particular moment depends on user selecting one of this widget's tabs.
By using this widget's binding mechanism child widgets' visibility can be controlled in the run-time as well.
For index-based displaying of child widgets visibleChild
input pin should be used (methods
ipVisibleChild()
and
opVisibleChild()
).
For order-based displaying of child widgets next
and
previous
pins should be used (methods
ipNext()
and
ipPrevious()
).
For history-based displaying of child widgets back
and
forward
pins should be used instead (methods
ipBack()
and
ipForward()
).
Initial child visibility can be specified by calling inherited
setVisibleChild(int)
method.
Nested Class Summary | |
---|---|
static class |
GUITabComponent.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUITabComponent.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
IAttributeValue<Text> |
barHeight
Deprecated. Not for public use. |
static IClass |
CLASSIFIER
UML class reference |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
IAttributeValue<Text> |
tabTexts
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 | |
---|---|
GUITabComponent()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUITabComponent |
create(GUIContainerComponent parent,
LayoutData layoutData,
java.lang.String... texts)
Returns new GUITabComponent with the given
tab texts, places it in the parent's layout according to
the given LayoutData , and assigns it to the given parent. |
static GUITabComponent |
create(GUIContainerComponent parent,
java.lang.String... texts)
Returns new GUITabComponent with the given
tab texts and assigns it to the given parent. |
java.lang.String |
getBarHeight()
Returns the tab header height. |
java.lang.String[] |
getTabTexts()
Returns the collection of tab texts. |
void |
setBarHeight(java.lang.String barHeight)
Sets the tab header height. |
void |
setTabTexts(java.lang.String... tabTexts)
Sets the collection of tab header texts. |
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 IAttributeValue<Text> tabTexts
@Deprecated public IAttributeValue<Text> barHeight
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
public GUITabComponent()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUIContainerComponent
public void validate()
GUIComponent
validate
in class GUIContainerComponent
public static GUITabComponent create(GUIContainerComponent parent, java.lang.String... texts)
GUITabComponent
with the given
tab texts and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgettexts
- an array of tab header texts
GUITabComponent
public static GUITabComponent create(GUIContainerComponent parent, LayoutData layoutData, java.lang.String... texts)
GUITabComponent
with the given
tab texts, places it in the parent's layout according to
the given LayoutData
, and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgetlayoutData
- the layout data of the new tab widgettexts
- an array of tab header texts
GUITabComponent
public java.lang.String[] getTabTexts()
setTabTexts(String...)
public void setTabTexts(java.lang.String... tabTexts)
tabTexts
- the collection of tab header textspublic java.lang.String getBarHeight()
setBarHeight(String)
public void setBarHeight(java.lang.String barHeight)
barHeight
- the tab header height
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |