|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrs.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.nonvisualcompoments.GUINonVisualComponent
rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUILogicGateComponent
rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUIOrGate
public class GUIOrGate
An invisible widget that performs logical OR operation on Boolean
values currently on this widget's input pins a
(ipA()
method) and b
(ipB()
method).
The resulting Boolean
value is provided on this widget's (inherited)
output pin output
(opOutput()
method). The operation is calculated every time one of
the input pins receives new value.
Code example that creates and binds this widget so that it makes sure that the text box is enabled only if at least one of the two check boxes is checked is given bellow:
GUIOrGate or = GUIOrGate.create(parent); // must have a parent
GUIComponentBinding.create(checkBox1.opValue(), or.ipA());
GUIComponentBinding.create(checkBox2.opValue(), or.ipB());
GUIComponentBinding.create(or.opOutput(), textBox.ipEnabled());
GUILogicGateComponent
,
GUINonVisualComponent
Nested Class Summary | |
---|---|
static class |
GUIOrGate.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUIOrGate.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
IAttributeValue<Text> |
a
Deprecated. Not for public use. |
IAttributeValue<Text> |
b
Deprecated. Not for public use. |
static IClass |
CLASSIFIER
UML class reference |
static java.lang.String |
FQ_TYPE_NAME
Fully qualified UML class name |
Fields inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUILogicGateComponent |
---|
output |
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 | |
---|---|
GUIOrGate()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUIOrGate |
create(GUIContainerComponent parent)
Returns new GUIOrGate and assigns it to its parent widget. |
static GUIOrGate |
create(GUIContainerComponent parent,
ISlot a,
ISlot b)
Deprecated. Not for public use. |
ISlot<?> |
ipA()
Returns the A input pin; when event occurs,
the Boolean value from the binding message
accepted on this pin is stored in this widget internally, and
also, new Boolean value (the result of OR operation
on just accepted value and the last accepted value on the
B input pin) is provided on the
output output pin
(opOutput() method). |
ISlot<?> |
ipB()
Returns the B input pin; when event occurs,
the Boolean value from the binding message
accepted on this pin is stored in this widget internally, and
also, new Boolean value (the result of OR operation
on just accepted value and the last accepted value on the
A input pin) is provided on the
output output pin
(opOutput() method). |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUILogicGateComponent |
---|
opOutput |
Methods inherited from class rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUINonVisualComponent |
---|
setCellAlignment, setCellSize, setCellStyle, setCenter, setDirectionAndSize, setLeftRightWidth, setRowColumn, setRowColumn, setSize, setTopBottomHeight, setXY |
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> a
@Deprecated public IAttributeValue<Text> b
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
public GUIOrGate()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUILogicGateComponent
public static GUIOrGate create(GUIContainerComponent parent)
GUIOrGate
and assigns it to its parent widget.
parent
- the parent GUIContainerComponent
widget
GUIOrGate
@Deprecated public static GUIOrGate create(GUIContainerComponent parent, ISlot a, ISlot b)
public ISlot<?> ipA()
A
input pin; when event occurs,
the Boolean
value from the binding message
accepted on this pin is stored in this widget internally, and
also, new Boolean
value (the result of OR operation
on just accepted value and the last accepted value on the
B
input pin) is provided on the
output
output pin
(opOutput()
method).
A
input pinGUIComponentBinding
public ISlot<?> ipB()
B
input pin; when event occurs,
the Boolean
value from the binding message
accepted on this pin is stored in this widget internally, and
also, new Boolean
value (the result of OR operation
on just accepted value and the last accepted value on the
A
input pin) is provided on the
output
output pin
(opOutput()
method).
B
input pinGUIComponentBinding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |