|
||||||||||
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.components.GUILinkComponent
public class GUILinkComponent
A widget that represents an anchor element. The href, caption, and target
properties can be initially specified by calling setHref(String)
method, setCaption(String)
method, and setTarget(String)
method. In the run-time, these can change dynamically, by binding other
widgets' text providing output pins with this widget's href
,
caption
, and target
input pins (methods
ipHref()
, ipCaption()
, and ipTarget()
). If
the user clicks on the link, this widget will fire event on its
openLink
output pin (opOpenLink()
method).
Nested Class Summary | |
---|---|
static class |
GUILinkComponent.FQPropertyNames
Deprecated. Not for public use. |
static class |
GUILinkComponent.PROPERTIES
Deprecated. Not for public use. |
Field Summary | |
---|---|
IAttributeValue<Text> |
caption
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> |
href
Deprecated. Not for public use. |
IAttributeValue<Text> |
openLink
Deprecated. Not for public use. |
IAttributeValue<Text> |
target
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 | |
---|---|
GUILinkComponent()
|
Method Summary | |
---|---|
void |
constructor()
The domain-specific constructor of the Classifier. |
static GUILinkComponent |
create(GUIContainerComponent parent,
java.lang.String caption,
java.lang.String href)
Returns new GUILinkComponent with the specified caption and
URL (href), and assigns it to the given parent. |
static GUILinkComponent |
create(GUIContainerComponent parent,
java.lang.String caption,
java.lang.String href,
int row,
int column)
Deprecated. Not for public use. |
static GUILinkComponent |
create(GUIContainerComponent parent,
java.lang.String caption,
java.lang.String href,
LayoutData layoutData)
Returns new GUILinkComponent with the specified caption and
URL (href), places it in the parent's layout according to
the given LayoutData , and assigns it to the given parent. |
static GUILinkComponent |
create(GUIContainerComponent parent,
java.lang.String caption,
java.lang.String href,
java.lang.String target)
Returns new GUILinkComponent with the specified caption,
URL (href), target window, and assigns it to the given parent. |
static GUILinkComponent |
create(GUIContainerComponent parent,
java.lang.String caption,
java.lang.String href,
java.lang.String target,
int row,
int column)
Deprecated. Not for public use. |
static GUILinkComponent |
create(GUIContainerComponent parent,
java.lang.String caption,
java.lang.String href,
java.lang.String target,
LayoutData layoutData)
Returns new GUILinkComponent with the specified caption,
URL (href), target window, places it in the parent's layout according to
the given LayoutData , and assigns it to the given parent. |
java.lang.String |
getCaption()
Returns the caption of this widget. |
java.lang.String |
getHref()
Returns the URL of this widget. |
java.lang.String |
getTarget()
Returns the target window of this widget. |
ISlot<?> |
ipCaption()
Returns the caption input pin; when event occurs,
the textual content of the binding message is used to set the
caption of this widget. |
ISlot<?> |
ipHref()
Returns the href input pin; when event occurs,
the textual content of the binding message is used to set the
URL (href) of this widget. |
ISlot<?> |
ipOpenLink()
Returns the openLink input pin; when event occurs,
the request for resource with the URL of this widget is issued
by this widget (that is, by the browser). |
ISlot<?> |
ipTarget()
Returns the target input pin; when event occurs,
the textual content of the binding message is used to set the
target window of this widget. |
ISlot<?> |
opOpenLink()
Returns the openLink output pin; each time
user clicks on a link, this widget signals to all interested
widgets by providing an empty binding message to this pin. |
void |
setCaption(java.lang.String caption)
Sets the caption of this widget |
void |
setHref(java.lang.String href)
Sets the URL of this widget. |
void |
setTarget(java.lang.String target)
Sets the target window of this widget. |
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> target
@Deprecated public IAttributeValue<Text> href
@Deprecated public IAttributeValue<Text> caption
@Deprecated public IAttributeValue<Text> openLink
public static final java.lang.String FQ_TYPE_NAME
public static final IClass CLASSIFIER
Constructor Detail |
---|
public GUILinkComponent()
Method Detail |
---|
public void constructor()
IClassifierInstance
constructor
in interface IClassifierInstance
constructor
in class GUIComponent
public static GUILinkComponent create(GUIContainerComponent parent, java.lang.String caption, java.lang.String href)
GUILinkComponent
with the specified caption and
URL (href), and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgetcaption
- the caption of new widgethref
- the URL of new widget
GUILinkComponent
public static GUILinkComponent create(GUIContainerComponent parent, java.lang.String caption, java.lang.String href, LayoutData layoutData)
GUILinkComponent
with the specified caption and
URL (href), places it in the parent's layout according to
the given LayoutData
, and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgetcaption
- the caption of new widgethref
- the URL of new widgetlayoutData
- the layout data of the new link
GUILinkComponent
public static GUILinkComponent create(GUIContainerComponent parent, java.lang.String caption, java.lang.String href, java.lang.String target)
GUILinkComponent
with the specified caption,
URL (href), target window, and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgetcaption
- the caption of new widgethref
- the URL of new widgettarget
- the target window of new widget
GUILinkComponent
public static GUILinkComponent create(GUIContainerComponent parent, java.lang.String caption, java.lang.String href, java.lang.String target, LayoutData layoutData)
GUILinkComponent
with the specified caption,
URL (href), target window, places it in the parent's layout according to
the given LayoutData
, and assigns it to the given parent.
parent
- the parent GUIContainerComponent
widgetcaption
- the caption of new widgethref
- the URL of new widgettarget
- the target window of new widgetlayoutData
- the layout data of the new link
GUILinkComponent
public ISlot<?> ipHref()
href
input pin; when event occurs,
the textual content of the binding message is used to set the
URL (href) of this widget.
href
input pinGUIComponentBinding
public ISlot<?> ipTarget()
target
input pin; when event occurs,
the textual content of the binding message is used to set the
target window of this widget.
target
input pinGUIComponentBinding
public ISlot<?> ipCaption()
caption
input pin; when event occurs,
the textual content of the binding message is used to set the
caption of this widget.
caption
input pinGUIComponentBinding
public ISlot<?> ipOpenLink()
openLink
input pin; when event occurs,
the request for resource with the URL of this widget is issued
by this widget (that is, by the browser).
openLink
input pinGUIComponentBinding
public ISlot<?> opOpenLink()
openLink
output pin; each time
user clicks on a link, this widget signals to all interested
widgets by providing an empty binding message to this pin.
openLink
output pinGUIComponentBinding
public java.lang.String getCaption()
setCaption(String)
public java.lang.String getTarget()
setTarget(String)
public java.lang.String getHref()
setHref(String)
public void setTarget(java.lang.String target)
target
- the target window of this widgetpublic void setCaption(java.lang.String caption)
caption
- the caption of this widgetpublic void setHref(java.lang.String href)
href
- the URL of this widget@Deprecated public static GUILinkComponent create(GUIContainerComponent parent, java.lang.String caption, java.lang.String href, int row, int column)
@Deprecated public static GUILinkComponent create(GUIContainerComponent parent, java.lang.String caption, java.lang.String href, java.lang.String target, int row, int column)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |