Class PseudoElementDescriptor
- java.lang.Object
-
- ro.sync.exml.workspace.api.editor.page.author.PseudoElementDescriptor
-
@API(type=NOT_EXTENDABLE, src=PUBLIC) public class PseudoElementDescriptor extends java.lang.Object
Describes a pseudo element.- Since:
- 23
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PseudoElementDescriptor.PsuedoElementType
Pseudo-element type.
-
Constructor Summary
Constructors Constructor Description PseudoElementDescriptor(PseudoElementDescriptor.PsuedoElementType type, int index)
Created a pseudo-element descriptor object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getIndex()
PseudoElementDescriptor.PsuedoElementType
getType()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PseudoElementDescriptor
public PseudoElementDescriptor(PseudoElementDescriptor.PsuedoElementType type, int index)
Created a pseudo-element descriptor object.- Parameters:
type
- The pseudo element type (before, after, marker, etc).index
- The index of the pseudo element (e.g.1
forelement:before(1)
).
-
-
Method Detail
-
getType
public PseudoElementDescriptor.PsuedoElementType getType()
- Returns:
- Returns the pseudo-element type (before, after, marker, etc.).
-
getIndex
public int getIndex()
- Returns:
- Returns the index of the pseudo-element
(e.g.
1
forelement:before(1)
).
-
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()
-
-