Package ro.sync.ecss.css
Class EditorContent
- java.lang.Object
-
- ro.sync.ecss.css.EditorContent
-
- All Implemented Interfaces:
StaticContent
@API(type=NOT_EXTENDABLE, src=PRIVATE) public class EditorContent extends java.lang.Object implements StaticContent
The content correspondent to an oxy_editor function.
-
-
Field Summary
-
Fields inherited from interface ro.sync.ecss.css.StaticContent
CONTENT_CONTENT, COUNTER_CONTENT, COUNTERS_CONTENT, EDITOR_CONTENT, LABEL_CONTENT, LEADER_CONTENT, STRING_FUNCTION_CONTENT, TARGET_COUNTER_CONTENT, TARGET_COUNTERS_CONTENT, TEXT_CONTENT, URI_CONTENT
-
-
Constructor Summary
Constructors Constructor Description EditorContent(java.util.Map<java.lang.String,java.lang.Object> properties)
Construct an in-place editor content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Map<java.lang.String,java.lang.Object>
getProperties()
Get the map of properties exactly as they would appear specified in the CSS.int
getPseudoLevel()
Gets the level of the pseudo element this form control is attached to.int
getType()
Gets the content type.int
hashCode()
void
setPseudoLevel(int pseudoLevel)
Sets the level of the pseudo element this form control is attached to.java.lang.String
toString()
-
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:StaticContent
Gets the content type.- Specified by:
getType
in interfaceStaticContent
- Returns:
- The content type.
- See Also:
StaticContent.getType()
-
getProperties
public java.util.Map<java.lang.String,java.lang.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 classjava.lang.Object
- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
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.
-
-