Class StringAttribute
- java.lang.Object
-
- io.github.factoryfx.factory.attribute.Attribute<T,A>
-
- io.github.factoryfx.factory.attribute.ImmutableValueAttribute<java.lang.String,StringAttribute>
-
- io.github.factoryfx.factory.attribute.types.StringAttribute
-
- All Implemented Interfaces:
AttributeCopy<java.lang.String>,AttributeMatch<java.lang.String>,AttributeMerger<java.lang.String>,AttributeValue<java.lang.String>
public class StringAttribute extends ImmutableValueAttribute<java.lang.String,StringAttribute>
-
-
Field Summary
-
Fields inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute
value
-
-
Constructor Summary
Constructors Constructor Description StringAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringAttributedefaultExpanded()edit hint to show textfield initial expandedStringAttributehtmlText()hint for data editing, wysiwg html editor is used instead of textfieldbooleaninternal_isDefaultExpanded()booleaninternal_isHtmlText()booleaninternal_isLongText()booleanisEmpty()StringAttributelongText()hint for data editing, a textarea is used instead of textfieldjava.lang.StringtoString()-
Methods inherited from class io.github.factoryfx.factory.attribute.ImmutableValueAttribute
defaultValue, get, getDisplayText, getNullable, getValue, internal_addBackReferences, internal_copyTo, internal_mergeMatch, internal_required, internal_reset, internal_semanticCopyTo, internal_validate, nullable, set, setValue
-
Methods inherited from class io.github.factoryfx.factory.attribute.Attribute
addonText, createAttributeStorageMetadata, de, en, es, fr, internal_addListener, internal_endUsage, internal_getAddonText, internal_getListeners, internal_getPreferredLabelText, internal_getPreferredTooltipText, internal_hasWritePermission, internal_isUserReadOnly, internal_merge, internal_removeAllListener, internal_removeListener, it, labelText, labelText, listenersEmpty, permission, pt, tooltipDe, tooltipEn, updateListeners, userReadOnly, userReadOnly, validation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMatch
internal_referenceEquals, internal_referenceListEquals
-
Methods inherited from interface io.github.factoryfx.factory.attribute.AttributeMerger
internal_mergeFactoryList
-
-
-
-
Method Detail
-
longText
public StringAttribute longText()
hint for data editing, a textarea is used instead of textfield- Returns:
- self
-
htmlText
public StringAttribute htmlText()
hint for data editing, wysiwg html editor is used instead of textfield- Returns:
- self
-
defaultExpanded
public StringAttribute defaultExpanded()
edit hint to show textfield initial expanded- Returns:
- self
-
isEmpty
public boolean isEmpty()
-
internal_isLongText
public boolean internal_isLongText()
-
internal_isHtmlText
public boolean internal_isHtmlText()
-
internal_isDefaultExpanded
public boolean internal_isDefaultExpanded()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-