Class/Object

atom.view

SyntaxHighlighter

Related Docs: object SyntaxHighlighter | package view

Permalink

class SyntaxHighlighter extends View

SyntaxHighlighter for programming languages.

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. SyntaxHighlighter
  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 SyntaxHighlighter()

    Permalink
  2. new SyntaxHighlighter(viewId: String = atom.`package`.NA, lang: String = atom.`package`.NA, source: String = atom.`package`.NA)

    Permalink

    viewId

    a string used to identify the view

    lang

    programming language to be highlighted

    source

    source code

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. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    SyntaxHighlighterEntity → AnyRef → Any
  13. 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
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. 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
  16. 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
  17. 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
  18. 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()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def getController: Controller

    Permalink

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

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

    returns

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

    Definition Classes
    ControllerSupport
    Annotations
    @XmlTransient() @JsonIgnore()
  21. 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()
  22. 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()
  23. def getLang: String

    Permalink
    Annotations
    @XmlAttribute()
  24. 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()
  25. 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()
  26. 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()
  27. 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()
  28. final def getParentId: String

    Permalink

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

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

    returns

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

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

    Permalink
    Annotations
    @XmlAttribute()
  30. 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()
  31. 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
  32. 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
  33. def hashCode(): Int

    Permalink
    Definition Classes
    SyntaxHighlighterEntity → AnyRef → Any
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. final def isTracking: Boolean

    Permalink

    Returns current tracking status.

    Returns current tracking status.

    returns

    current tracking status

    Definition Classes
    ChangeSupport
    Annotations
    @XmlTransient() @JsonIgnore()
  36. var lang: String

    Permalink

    programming language to be highlighted

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

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

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

    Permalink
    Definition Classes
    AnyRef
  40. final def setController(resources: Controller): Unit

    Permalink

    Sets resource controller reference.

    Sets resource controller reference.

    resources

    a resource controller

    Definition Classes
    ControllerSupport
  41. 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
  42. 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
  43. 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
  44. 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
  45. def setLang(_lang: String): Unit

    Permalink
  46. 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
  47. 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
  48. 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
  49. def setSource(_source: String): Unit

    Permalink
  50. 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
  51. var source: String

    Permalink

    source code

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

    Permalink
    Definition Classes
    AnyRef
  53. def toString(): String

    Permalink
    Definition Classes
    SyntaxHighlighterEntity → AnyRef → Any
  54. 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
  55. final def unifyId(): Unit

    Permalink

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

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

    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
  56. 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
  57. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

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