LabeledFieldView

ceramic.Entityceramic.Visualceramic.Quadceramic.Layerceramic.Viewceramic.LinearLayoutceramic.RowLayoutelements.LabeledFieldView (Class)
Implements: tracker.Observable

Instance Members

elements
observedDirty: Bool

Default is false, automatically set to true when any of this instance's observable variables has changed.


elements
label: String

elements
disabled: Bool

elements
field: elements.LabeledFieldView.T

elements
labelPosition: LabelPosition

elements
labelWidth: Float

elements
labelViewWidth: Float

elements
invalidateLabel(): Void

elements
invalidateDisabled(): Void

elements
new(field: elements.LabeledFieldView.T): Void
Name Type
field elements.LabeledFieldView.T

Private Members

elements
unobservedLabel: String

elements
unobservedDisabled: Bool

elements
labelText: ceramic.TextView

elements
emitObservedDirty(instance: LabeledFieldView<elements.LabeledFieldView.T>, fromSerializedField: Bool): Void

Event when any observable value as changed on this instance.

Name Type
instance LabeledFieldView<elements.LabeledFieldView.T>
fromSerializedField Bool

elements
emitLabelChange(current: String, previous: String): Void

Event when label field changes.

Name Type
current String
previous String

elements
emitDisabledChange(current: Bool, previous: Bool): Void

Event when disabled field changes.

Name Type
current Bool
previous Bool

elements
handleLabelClick(): Void

elements
updateLabel(): Void

elements
updateDisabled(): Void

elements
updateStyle(): Void

Metadata

Name Parameters
:build tracker.macros.ObservableMacro.build()
:autoBuild tracker.macros.ObservableMacro.build()
:build ceramic.macros.EntityMacro.buildForCompletion()
:autoBuild ceramic.macros.EntityMacro.buildForCompletion()
:build tracker.macros.EventsMacro.build()
:autoBuild tracker.macros.EventsMacro.build()