Class EditorContent

java.lang.Object
ro.sync.ecss.css.EditorContent
All Implemented Interfaces:
StaticContent

@API(type=NOT_EXTENDABLE, src=PRIVATE) public class EditorContent extends Object implements StaticContent
The content correspondent to an oxy_editor function.
  • Constructor Details

    • EditorContent

      public EditorContent(Map<String,Object> properties)
      Construct an in-place editor content.
      Parameters:
      properties - The map of properties exactly as they would appear specified in the CSS.
  • Method Details

    • getType

      public int getType()
      Description copied from interface: StaticContent
      Gets the content type.
      Specified by:
      getType in interface StaticContent
      Returns:
      The content type.
      See Also:
    • getProperties

      public Map<String,Object> getProperties()
      Get the map of properties exactly as they would appear specified in the CSS.
      Returns:
      Returns the properties.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • setPseudoLevel

      public void setPseudoLevel(int pseudoLevel)
      Sets the level of the pseudo element this form control is attached to.
      Parameters:
      pseudoLevel - The pseudo element level. This is the N value from :before(N) expressions. For a simple :before, the pseudo level is 1.
    • getPseudoLevel

      public int getPseudoLevel()
      Gets the level of the pseudo element this form control is attached to.
      Returns:
      The pseudo element level. This is the N value from :before(N) expressions. For a simple :before, the pseudo level is 1.