Class/Object

atom.view

Text

Related Docs: object Text | package view

Permalink

class Text extends View

Сущность для передачи строковых данных по сети и в рамках платформы.

Annotations
@XmlRootElement()
Linear Supertypes
View, LayoutSupport, EventSupport, TypeSupport, Entity, ControllerSupport, ChangeSupport, ParentSupport, SearchSupport, Cloneable, Cloneable, Serializable, Serializable, MacroSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Text
  2. View
  3. LayoutSupport
  4. EventSupport
  5. TypeSupport
  6. Entity
  7. ControllerSupport
  8. ChangeSupport
  9. ParentSupport
  10. SearchSupport
  11. Cloneable
  12. Cloneable
  13. Serializable
  14. Serializable
  15. MacroSupport
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Text()

    Permalink
  2. new Text(viewId: String = atom.`package`.NA, text: String = atom.`package`.NA, color: String = atom.`package`.NA, heading: Integer = atom.`package`.NA, size: Double = atom.`package`.NA, weight: Integer = atom.`package`.NA, style: String = atom.`package`.NA, font: String = atom.`package`.NA, line: Double = atom.`package`.NA, spacing: Double = atom.`package`.NA, indent: Double = atom.`package`.NA, shadow: String = atom.`package`.NA)

    Permalink

    viewId

    идентификатор представления

    text

    текст для отображения

    color

    цвет букв для отображения в форматах #RRGGBB | #RGB, название цвета, rgb(), rgba(), hsl(), hsla()

    heading

    тип заголовка от 1 до 6 (от наибольшего к наименьшему)

    size

    коэффициент увеличения или уменьшения шрифта относительно его изначального размера

    weight

    толщина шрифта

    style

    начертание шрифта — обычное, курсивное или наклонное

    font

    cемейство шрифта, которое будет использоваться для оформления текста содержимого

    line

    коэффициент увеличения или уменьшения высоты строки текста

    spacing

    коэффициент увеличения или уменьшения интервала между символами

    indent

    коэффициент увеличения или уменьшения величины отступа первой строки блока текста

    shadow

    тень к тексту, а также её параметры: цвет тени, смещение относительно надписи и радиус размытия

Type Members

  1. type EventListener = (EventType, Entity) ⇒ Unit

    Permalink

    Trait definition for a callback to be invoked when a view is clicked.

    Trait definition for a callback to be invoked when a view is clicked.

    Definition Classes
    EventSupport

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def afterUnmarshal(unmarshaller: Unmarshaller, obj: Entity): Unit

    Permalink

    Parent object is not restored on unmarshal, so this method should help.

    Parent object is not restored on unmarshal, so this method should help.

    unmarshaller

    an instance of the unmarshaller

    obj

    parent object

    Definition Classes
    ParentSupport
  5. final def applyChange(event: PropertyChangeEvent): Unit

    Permalink

    Apply changes to entity according to existing hierarchy.

    Apply changes to entity according to existing hierarchy.

    event

    property change event that should be applied

    Definition Classes
    ChangeSupport
  6. final def applyChanges(events: List[PropertyChangeEvent]): Unit

    Permalink

    Apply changes to entity according to existing hierarchy.

    Apply changes to entity according to existing hierarchy.

    events

    property change events that should be applied

    Definition Classes
    ChangeSupport
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. final def assignParent(obj: Entity): Unit

    Permalink

    Assign the parent if it exists, or null.

    Assign the parent if it exists, or null. NOTE: Every element that use this method should override #cloneAsTemplate

    obj

    the parent tracking object

    Definition Classes
    ParentSupport
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def cloneAsTemplate: Entity

    Permalink

    Клонирование экземпляра сущности для использования в контроллере динамических данных.

    Клонирование экземпляра сущности для использования в контроллере динамических данных.

    returns

    клонированный экземпляра сущности

    Definition Classes
    Entity
  11. var color: String

    Permalink

    цвет букв для отображения в форматах #RRGGBB | #RGB, название цвета, rgb(), rgba(), hsl(), hsla()

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(o: Any): Boolean

    Permalink
    Definition Classes
    TextEntity → AnyRef → Any
  14. final def filter(string: String): String

    Permalink

    Return the string value associated with a particular resource reference.

    Return the string value associated with a particular resource reference. It will be stripped of any styled text information.

    string

    the desired resource identifier

    returns

    the string data associated with the resource, stripped of styled text information or input reference if no value exists

    Attributes
    protected[atom.data]
    Definition Classes
    ControllerSupport
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def findById(identity: String): Entity

    Permalink

    Finds a entity that was identified by the id attribute that was processed in atom.app.Activity#onCreate.

    Finds a entity that was identified by the id attribute that was processed in atom.app.Activity#onCreate.

    identity

    id attribute that was processed

    returns

    the entity if found or null otherwise

    Definition Classes
    SearchSupport
  17. final def fireChange(event: AbstractPropertyChangeEvent): Unit

    Permalink

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    event

    an event

    Attributes
    protected
    Definition Classes
    ChangeSupport
  18. final def fireChange(propertyName: String, newValue: AnyRef): Unit

    Permalink

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    propertyName

    the programmatic name of the property that was changed

    newValue

    the new value of the property

    Definition Classes
    ChangeSupport
  19. var font: String

    Permalink

    cемейство шрифта, которое будет использоваться для оформления текста содержимого

  20. final def getChanges: List[PropertyChangeEvent]

    Permalink

    Provide list of property change events.

    Provide list of property change events.

    returns

    list of property change events

    Definition Classes
    ChangeSupport
    Annotations
    @XmlTransient() @JsonIgnore()
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getColor: String

    Permalink
    Annotations
    @XmlAttribute()
  23. final def getController: Controller

    Permalink

    Получение собственного контроллера или в случае его отсутствия, получение первого контроллера по иерархии предков.

    Получение собственного контроллера или в случае его отсутствия, получение первого контроллера по иерархии предков.

    returns

    собственный контроллер или контроллер предка

    Definition Classes
    ControllerSupport
    Annotations
    @XmlTransient() @JsonIgnore()
  24. def getEventBits: Int

    Permalink

    Get an events bitset listened by the view.

    Get an events bitset listened by the view.

    returns

    an events bitset listened by the view

    Definition Classes
    EventSupport
    Annotations
    @XmlTransient()
  25. def getFont: String

    Permalink
    Annotations
    @XmlAttribute()
  26. def getHeading: Integer

    Permalink
    Annotations
    @XmlAttribute()
  27. final def getId: String

    Permalink

    Gets the entity's identifier.

    Gets the entity's identifier.

    returns

    the entity's identifier

    Definition Classes
    SearchSupport
    Annotations
    @XmlAttribute() @XmlID() @JsonProperty()
  28. def getIndent: Double

    Permalink
    Annotations
    @XmlAttribute()
  29. final def getLayoutGravity: Integer

    Permalink

    Get the current layout gravity of the view.

    Get the current layout gravity of the view.

    returns

    layout gravity of the view

    Definition Classes
    LayoutSupport
    Annotations
    @XmlAttribute() @JsonIgnore()
  30. final def getLayoutHeight: String

    Permalink

    Get the current layout width of the view.

    Get the current layout width of the view.

    returns

    layout width of the view

    Definition Classes
    LayoutSupport
    Annotations
    @XmlAttribute() @JsonIgnore()
  31. final def getLayoutWidth: String

    Permalink

    Get the current layout height of the view.

    Get the current layout height of the view.

    returns

    layout height of the view

    Definition Classes
    LayoutSupport
    Annotations
    @XmlAttribute() @JsonIgnore()
  32. def getLine: Double

    Permalink
    Annotations
    @XmlAttribute()
  33. final def getParent: Entity

    Permalink

    Return the parent if it exists, or null.

    Return the parent if it exists, or null.

    returns

    the parent

    Definition Classes
    ParentSupport
    Annotations
    @JsonBackReference()
  34. final def getParentId: String

    Permalink

    Получение первого не пустого значения идентификатора сущности прородителя.

    Получение первого не пустого значения идентификатора сущности прородителя.

    returns

    идентификатор сущности прородителя либо

    null
    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
    Annotations
    @tailrec()
  35. def getShadow: String

    Permalink
    Annotations
    @XmlAttribute()
  36. def getSize: Double

    Permalink
    Annotations
    @XmlAttribute()
  37. def getSpacing: Double

    Permalink
    Annotations
    @XmlAttribute()
  38. def getStyle: String

    Permalink
    Annotations
    @XmlAttribute()
  39. def getText: String

    Permalink
    Annotations
    @XmlAttribute()
  40. final def getType: String

    Permalink

    Get the view's type.

    Get the view's type.

    returns

    the view's type

    Definition Classes
    TypeSupport
    Annotations
    @XmlAttribute() @JsonProperty() @JsonInclude()
  41. def getWeight: Integer

    Permalink
    Annotations
    @XmlAttribute()
  42. final def handleEvent(eventCode: Int): Unit

    Permalink

    Directly call any attached EventListener or OnClickMethod.

    Directly call any attached EventListener or OnClickMethod.

    eventCode

    an event type

    Definition Classes
    EventSupport
  43. final def hasChanged: Boolean

    Permalink

    Tests if this object has changed.

    Tests if this object has changed.

    returns

    true if the object changes are not empty.

    Definition Classes
    ChangeSupport
  44. def hashCode(): Int

    Permalink
    Definition Classes
    TextEntity → AnyRef → Any
  45. var heading: Integer

    Permalink

    тип заголовка от 1 до 6 (от наибольшего к наименьшему)

  46. var indent: Double

    Permalink

    коэффициент увеличения или уменьшения величины отступа первой строки блока текста

  47. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  48. final def isTracking: Boolean

    Permalink

    Returns current tracking status.

    Returns current tracking status.

    returns

    current tracking status

    Definition Classes
    ChangeSupport
    Annotations
    @XmlTransient() @JsonIgnore()
  49. var line: Double

    Permalink

    коэффициент увеличения или уменьшения высоты строки текста

  50. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  51. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  53. def setColor(_color: String): Unit

    Permalink
  54. final def setController(resources: Controller): Unit

    Permalink

    Sets resource controller reference.

    Sets resource controller reference.

    resources

    a resource controller

    Definition Classes
    ControllerSupport
  55. def setEventBits(bits: Int): Unit

    Permalink

    Sets event bits to listen for this view.

    Sets event bits to listen for this view.

    bits

    events bitset

    Definition Classes
    EventSupport
  56. final def setEventListener(eventType: EventType)(listener: EventListener): Unit

    Permalink

    Register a callback to be invoked when this view is clicked.

    Register a callback to be invoked when this view is clicked.

    eventType

    an event type

    listener

    the callback that will run

    Definition Classes
    EventSupport
  57. final def setEventListener(eventType: EventType, listener: EventListenerSupport): Unit

    Permalink

    Register a callback to be invoked when this view is clicked.

    Register a callback to be invoked when this view is clicked.

    eventType

    an event type

    listener

    the callback that will run

    Definition Classes
    EventSupport
  58. def setFont(_font: String): Unit

    Permalink
  59. def setHeading(_heading: Integer): Unit

    Permalink
  60. final def setId(identity: String): Unit

    Permalink

    Sets the entity's identifier.

    Sets the entity's identifier.

    identity

    the entity's identifier

    Definition Classes
    SearchSupport
  61. def setIndent(_indent: Double): Unit

    Permalink
  62. final def setLayoutGravity(gravity: Integer): Unit

    Permalink

    Sets layout gravity parameter for this view.

    Sets layout gravity parameter for this view.

    gravity

    new layout gravity Note: throws IllegalArgumentException in case of incorrect layout gravity param

    Definition Classes
    LayoutSupport
  63. final def setLayoutHeight(height: String): Unit

    Permalink

    Sets layout height parameter for this view.

    Sets layout height parameter for this view.

    height

    new layout height Note: throws IllegalArgumentException in case of incorrect layout height param

    Definition Classes
    LayoutSupport
  64. final def setLayoutWidth(width: String): Unit

    Permalink

    Sets layout width parameter for this view.

    Sets layout width parameter for this view.

    width

    new layout width Note: throws IllegalArgumentException in case of incorrect layout width param

    Definition Classes
    LayoutSupport
  65. def setLine(_line: Double): Unit

    Permalink
  66. def setShadow(_shadow: String): Unit

    Permalink
  67. def setSize(_size: Double): Unit

    Permalink
  68. def setSpacing(_spacing: Double): Unit

    Permalink
  69. def setStyle(_style: String): Unit

    Permalink
  70. def setText(_text: String): Unit

    Permalink
  71. final def setType(aType: String): Unit

    Permalink

    Set the view's type.

    Set the view's type.

    aType

    the view's type

    Definition Classes
    TypeSupport
  72. def setWeight(_weight: Integer): Unit

    Permalink
  73. var shadow: String

    Permalink

    тень к тексту, а также её параметры: цвет тени, смещение относительно надписи и радиус размытия

  74. var size: Double

    Permalink

    коэффициент увеличения или уменьшения шрифта относительно его изначального размера

  75. var spacing: Double

    Permalink

    коэффициент увеличения или уменьшения интервала между символами

  76. var style: String

    Permalink

    начертание шрифта — обычное, курсивное или наклонное

  77. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  78. var text: String

    Permalink

    текст для отображения

  79. def toString(): String

    Permalink
    Definition Classes
    TextEntity → AnyRef → Any
  80. final def trackChanges(enable: Boolean = true, clearExisting: Boolean = true): Unit

    Permalink

    Set status for tracking changes for the entity.

    Set status for tracking changes for the entity.

    enable

    status for change tracking

    clearExisting

    whether to clear existing changes or not

    Definition Classes
    ChangeSupport
  81. final def unifyId(): Unit

    Permalink

    Обновление идентификатора сущности с учетом прородителя.

    Обновление идентификатора сущности с учетом прородителя.

    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
  82. final def update(oldValue: String, newValue: String): String

    Permalink

    Return a reference or updated value.

    Return a reference or updated value.

    oldValue

    old entity value

    newValue

    new entity value

    returns

    a reference or updated value

    Attributes
    protected
    Definition Classes
    ControllerSupport
  83. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  84. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  85. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. var weight: Integer

    Permalink

    толщина шрифта

Inherited from View

Inherited from LayoutSupport

Inherited from EventSupport

Inherited from TypeSupport

Inherited from Entity

Inherited from ControllerSupport

Inherited from ChangeSupport

Inherited from ParentSupport

Inherited from SearchSupport

Inherited from Cloneable

Inherited from Cloneable

Inherited from Serializable

Inherited from Serializable

Inherited from MacroSupport

Inherited from AnyRef

Inherited from Any

Ungrouped