rs.sol.soloist.server.guiconfiguration.elementcomponents
Class GUIFieldWidget

java.lang.Object
  extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassifierInstance
      extended by rs.sol.soloist.server.uml.commonimplementation.runtime._ClassInstance
          extended by rs.sol.soloist.server.javaimpl.runtime.SOLoistClassInstance
              extended by rs.sol.soloist.server.builtindomains.common.ObjectOfClass
                  extended by rs.sol.soloist.server.guiconfiguration.elementcomponents.GUIWidget
                      extended by rs.sol.soloist.server.guiconfiguration.elementcomponents.GUIFieldWidget
All Implemented Interfaces:
rs.sol.soloist.server.uml.concepts.IElement, IClassifierInstance, IClassInstance, IRTElement

Deprecated. Not for public use.

@Deprecated
public class GUIFieldWidget
extends GUIWidget


Nested Class Summary
static class GUIFieldWidget.FQPropertyNames
          Deprecated.  
static class GUIFieldWidget.PROPERTIES
          Deprecated.  
 
Field Summary
 IAttributeValue<Text> allowedExtensions
          Deprecated. Not for public use.
 IAttributeValue<Text> checkboxLabel
          Deprecated. Not for public use.
 IAttributeValue<Text> checked
          Deprecated.  
static IClass CLASSIFIER
          Deprecated. UML class reference
 IAttributeValue<Text> defaultTime
          Deprecated. Not for public use.
 IAttributeValue<Boolean> displayDateAsCalendar
          Deprecated. Not for public use.
 IAttributeValue<Text> focus
          Deprecated.  
static java.lang.String FQ_TYPE_NAME
          Deprecated. Fully qualified UML class name
 IAttributeValue<Text> inputTypeFQName
          Deprecated. Not for public use.
 IAttributeValue<Boolean> isHTML
          Deprecated. Not for public use.
 IAttributeValue<Boolean> isPassword
          Deprecated. Not for public use.
 IAttributeValue<Integer> maxFileSize
          Deprecated. Not for public use.
 IAttributeValue<Integer> maxLength
          Deprecated. Not for public use.
 IAttributeValue<Boolean> multiline
          Deprecated. Not for public use.
 IAttributeValue<Text> regularExpression
          Deprecated. Not for public use.
static java.util.Set<IPrimitiveType> supportedTypes
          Deprecated.  
 IAttributeValue<Boolean> treatEmptyTextAsNull
          Deprecated. Not for public use.
 IAttributeValue<Text> unchecked
          Deprecated.  
 
Fields inherited from class rs.sol.soloist.server.guiconfiguration.elementcomponents.GUIWidget
enterPressed, focusLost, owner
 
Constructor Summary
GUIFieldWidget()
          Deprecated. Not for public use.
 
Method Summary
static GUIFieldWidget create(IDataType type)
          Deprecated.  
static GUIFieldWidget createBoolean(java.lang.String checkboxLabel)
          Deprecated.  
static GUIFieldWidget createMultilineText()
          Deprecated.  
static GUIFieldWidget createPasswordText()
          Deprecated.  
 rs.sol.soloist.client.common.info2.FieldEditorInfo createSpecificInfo()
          Deprecated.  
 void fillInfo(rs.sol.soloist.client.common.info2.WidgetInfo widgetInfo)
          Deprecated.  
static GUIFieldWidget get(GUIElementComponent ec)
          Deprecated.  
 IType getType()
          Deprecated.  
static void main(java.lang.String[] args)
          Deprecated.  
 void validate()
          Deprecated. Used for checking whether the widgets attributes conform to their expected values.
 
Methods inherited from class rs.sol.soloist.server.guiconfiguration.elementcomponents.GUIWidget
createInfo, getOwner
 
Methods inherited from class rs.sol.soloist.server.builtindomains.common.ObjectOfClass
constructor, handle
 
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, destructor, 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, destructor, 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

inputTypeFQName

@Deprecated
public final IAttributeValue<Text> inputTypeFQName
Deprecated. Not for public use.

Fully Qualified name of the type of this widget.


multiline

@Deprecated
public final IAttributeValue<Boolean> multiline
Deprecated. Not for public use.

Should the widget be rendered as a multiline text field in case its type is Text?


isPassword

@Deprecated
public final IAttributeValue<Boolean> isPassword
Deprecated. Not for public use.

Should the widget be rendered as a password text field in case its type is Text?


maxLength

@Deprecated
public final IAttributeValue<Integer> maxLength
Deprecated. Not for public use.

The maximum permissible length in characters in case this is a Text field.

If the user enters more than maxLength characters, field widget becomes red in color.


checkboxLabel

@Deprecated
public final IAttributeValue<Text> checkboxLabel
Deprecated. Not for public use.

Text that will be shown alongside the checkbox should the widget be of type Boolean.


treatEmptyTextAsNull

@Deprecated
public final IAttributeValue<Boolean> treatEmptyTextAsNull
Deprecated. Not for public use.

Should we treat empty text as null (true) or empty string (false) in case of a field widget of type Text?


displayDateAsCalendar

@Deprecated
public final IAttributeValue<Boolean> displayDateAsCalendar
Deprecated. Not for public use.

Should we display date as a single textbox with a calendar - date picker (true) or as three combos for day, month and year (false)? Applies to field widgets of type Date.


defaultTime

@Deprecated
public final IAttributeValue<Text> defaultTime
Deprecated. Not for public use.

Default time for DateTime widgets when we choose a point in time from the calendar - date picker. Defaults to 00:00.


maxFileSize

@Deprecated
public final IAttributeValue<Integer> maxFileSize
Deprecated. Not for public use.

Maximum file size for Files and Pictures, expressed in KB. The default is 1024KB.


allowedExtensions

@Deprecated
public final IAttributeValue<Text> allowedExtensions
Deprecated. Not for public use.

Comma separated list of allowed extensions used for File and Picture components in the following format: png,gif,jpg.

Defaults to blank Text, which does not restrict allowed extensions.

If the user tries to upload a file with a restricted extension an error message is displayed.


isHTML

@Deprecated
public final IAttributeValue<Boolean> isHTML
Deprecated. Not for public use.
If set to true, displays HTML WYSIWYG editor widget. This applies to type Text only.


regularExpression

@Deprecated
public final IAttributeValue<Text> regularExpression
Deprecated. Not for public use.
A regular expression for validating this field on the client, in JavaScript regular expression format. If blank, no regular expression validation will take place.


checked

@Deprecated
public final IAttributeValue<Text> checked
Deprecated. 
InputOutput pin used for checking a field widget of type Boolean.


unchecked

@Deprecated
public final IAttributeValue<Text> unchecked
Deprecated. 
InputOutput pin used for unchecking a field widget of type Boolean.


focus

@Deprecated
public final IAttributeValue<Text> focus
Deprecated. 
InputOutput pin used to set and retrieve focus from a field widget.


FQ_TYPE_NAME

public static final java.lang.String FQ_TYPE_NAME
Deprecated. 
Fully qualified UML class name

See Also:
Constant Field Values

CLASSIFIER

public static final IClass CLASSIFIER
Deprecated. 
UML class reference


supportedTypes

public static final java.util.Set<IPrimitiveType> supportedTypes
Deprecated. 
Constructor Detail

GUIFieldWidget

@Deprecated
public GUIFieldWidget()
Deprecated. Not for public use.

Method Detail

validate

public void validate()
Deprecated. 
Used for checking whether the widgets attributes conform to their expected values. To be overriden in subclasses. Throws IllegalComponentStateException.

Overrides:
validate in class GUIWidget

getType

public IType getType()
Deprecated. 

get

public static GUIFieldWidget get(GUIElementComponent ec)
Deprecated. 

createSpecificInfo

public rs.sol.soloist.client.common.info2.FieldEditorInfo createSpecificInfo()
Deprecated. 
Specified by:
createSpecificInfo in class GUIWidget

fillInfo

public void fillInfo(rs.sol.soloist.client.common.info2.WidgetInfo widgetInfo)
Deprecated. 
Overrides:
fillInfo in class GUIWidget

create

public static GUIFieldWidget create(IDataType type)
Deprecated. 

createBoolean

public static GUIFieldWidget createBoolean(java.lang.String checkboxLabel)
Deprecated. 

createMultilineText

public static GUIFieldWidget createMultilineText()
Deprecated. 

createPasswordText

public static GUIFieldWidget createPasswordText()
Deprecated. 

main

public static void main(java.lang.String[] args)
Deprecated.