|
||||||||||
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.nonvisualcompoments.GUINonVisualComponent rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUILogicGateComponent rs.sol.soloist.server.guiconfiguration.nonvisualcompoments.GUINotGate
public class GUINotGate
An invisible widget that performs logical NOT operation on Boolean
value currently on this widget's input pin input
(ipInput()
method). The resulting (inverted) Boolean
value is provided on this widget's (inherited) output pin output
(opOutput()
method).
The operation is calculated every time the input pin receives new value.
Code example that creates and binds this widget so that it makes sure that the text box is enabled only if check box is not checked is given bellow:
GUINotGate not = GUINotGate.create(parent); // must have a parent
GUIComponentBinding.create(checkBox.opValue(), not.ipInput());
GUIComponentBinding.create(not.opOutput(), textBox.ipEnabled());
GUILogicGateComponent
,
GUINonVisualComponent
Nested Class Summary | |
---|---|
static class |
GUINotGate.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUINotGate.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> |
input
Deprecated. Not for public use. |
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 | |
---|---|
GUINotGate()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUINotGate |
create(GUIContainerComponent parent)
Returns new GUINotGate and assigns it to its parent widget. |
ISlot<?> |
ipInput()
Returns the input input pin; when event occurs,
the Boolean value from the binding message
accepted on this pin is inverted (the result of NOT
operation) and 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> input
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
public GUINotGate()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUILogicGateComponent
public static GUINotGate create(GUIContainerComponent parent)
GUINotGate
and assigns it to its parent widget.
parent
- the parent GUIContainerComponent
widget
GUINotGate
public ISlot<?> ipInput()
input
input pin; when event occurs,
the Boolean
value from the binding message
accepted on this pin is inverted (the result of NOT
operation) and provided on the output
output pin
(opOutput()
method).
input
input pinGUIComponentBinding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |