Class ToDoFormField

    • Constructor Detail

      • ToDoFormField

        public ToDoFormField()
      • ToDoFormField

        public ToDoFormField​(int kind,
                             java.lang.String name,
                             java.lang.String description)
    • Method Detail

      • isPreventEnable

        public boolean isPreventEnable()
      • setPreventEnable

        public void setPreventEnable​(boolean preventEnable)
      • isPreventVisible

        public boolean isPreventVisible()
      • setPreventVisible

        public void setPreventVisible​(boolean preventVisible)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getKind

        public int getKind()
      • setKind

        public void setKind​(int kind)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getSubAttributes

        public java.util.HashMap<java.lang.String,​java.lang.String> getSubAttributes()
      • setSubAttributes

        public void setSubAttributes​(java.util.HashMap<java.lang.String,​java.lang.String> subAttributes)
      • getSubDouble

        public java.lang.Double getSubDouble​(java.lang.String key)
      • getSubFloat

        public java.lang.Float getSubFloat​(java.lang.String key)
      • getSubInt

        public java.lang.Integer getSubInt​(java.lang.String key)
      • getSubAttribute

        public java.lang.String getSubAttribute​(java.lang.String key)
      • setSubFloat

        public void setSubFloat​(java.lang.String key,
                                float value)
      • setSubInt

        public void setSubInt​(java.lang.String key,
                              int value)
      • setSubAttribute

        public void setSubAttribute​(java.lang.String key,
                                    java.lang.String value)
      • getValue

        public java.lang.Object getValue()
      • setValue

        public void setValue​(java.lang.Object value)
      • getStructure

        public java.lang.String getStructure()
      • setStructure

        public void setStructure​(java.lang.String structure)
      • setToLabel

        public void setToLabel()
      • setToField

        public void setToField()
      • setToSelection

        public void setToSelection()
      • setToMultiSelection

        public void setToMultiSelection()
      • setToExclusiveMultiSelection

        public void setToExclusiveMultiSelection()
      • setToDate

        public void setToDate()
      • setToTime

        public void setToTime()
      • setToDateTime

        public void setToDateTime()
      • setToRangedInt

        public void setToRangedInt()
      • setToFloat

        public void setToFloat()
      • setToLongField

        public void setToLongField()
      • setToDynamicMenu

        public void setToDynamicMenu()
      • setToInvisiblePanel

        public void setToInvisiblePanel()
      • setToButton

        public void setToButton()
      • setToTable

        public void setToTable()
      • setToWebview

        public void setToWebview()
      • setToSignature

        public void setToSignature()
      • isImage

        public boolean isImage()
      • isLabel

        public boolean isLabel()
      • isTextField

        public boolean isTextField()
      • isSelection

        public boolean isSelection()
      • isMultiSelection

        public boolean isMultiSelection()
      • isExclusiveMultiSelection

        public boolean isExclusiveMultiSelection()
      • isFontable

        public boolean isFontable()
      • hasValue

        public boolean hasValue()
        Checks if the user can set a value to this field.
        Returns:
        true for text fields, float fields etc, false for panels, labels etc.
      • hasDescription

        public boolean hasDescription()
      • isClickable

        public boolean isClickable()
      • isDate

        public boolean isDate()
      • isTime

        public boolean isTime()
      • isDateTime

        public boolean isDateTime()
      • isRangedInt

        public boolean isRangedInt()
      • isFloat

        public boolean isFloat()
      • isDynamicMenu

        public boolean isDynamicMenu()
      • isInvisiblePanel

        public boolean isInvisiblePanel()
      • isLongTextField

        public boolean isLongTextField()
      • isAnyMultiSelection

        public boolean isAnyMultiSelection()
      • isButton

        public boolean isButton()
      • isTable

        public boolean isTable()
      • isWebview

        public boolean isWebview()
      • isSignature

        public boolean isSignature()
      • isListenable

        public boolean isListenable()
      • getIdString

        public java.lang.String getIdString()
      • setDefaultListener

        public void setDefaultListener​(java.lang.String defaultListener)
      • hasDefaultListener

        public boolean hasDefaultListener()
      • getDefaultListener

        public java.lang.String getDefaultListener()
      • isReadonly

        public boolean isReadonly()
      • setReadonly

        public void setReadonly​(boolean readonly)
      • getElement

        public Element getElement()
      • setElement

        public void setElement​(Element at)
                        throws java.text.ParseException
        Throws:
        java.text.ParseException
      • refresh

        public void refresh()
      • resetBorder

        public void resetBorder()
      • getWidget

        public com.proxemo.todo4.ui.forms.widgets.FormWidgetInterface getWidget()
      • setWidget

        public void setWidget​(com.proxemo.todo4.ui.forms.widgets.FormWidgetInterface widget)
      • getId

        public java.lang.Long getId()
        Description copied from class: ToDoVersionedIdentifiable
        Method returning a canonical id of the object. Transient objects return -1;
        Specified by:
        getId in class ToDoVersionedIdentifiable
        Returns:
        id the id of the object. Id is canonical for all instances of a class.
      • setId

        public void setId​(java.lang.Long id)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the canonical id of the object. Should under normal circumstances not be manually invoked.
        Specified by:
        setId in class ToDoVersionedIdentifiable
        Parameters:
        id - id of the object
      • setVersion

        public void setVersion​(java.lang.Integer version)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the version of the instance, Should under normal circumstances not be manually invoked.
        Specified by:
        setVersion in class ToDoVersionedIdentifiable
        Parameters:
        version - of the object
      • isActive

        public java.lang.Boolean isActive()
        Description copied from class: ToDoVersionedIdentifiable
        Method that returns whether the instance is active or not (means: logically deleted)
        Specified by:
        isActive in class ToDoVersionedIdentifiable
        Returns:
        boolean whether the object is active
      • setActive

        public void setActive​(java.lang.Boolean active)
        Description copied from class: ToDoVersionedIdentifiable
        Method setting the active flag. Invoking this method with false logically deletes the instance in the database.
        Specified by:
        setActive in class ToDoVersionedIdentifiable
        Parameters:
        active - is the object active or not
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object