public class ElementStyleRule extends ElementStyleSheet
Constructor and Description |
---|
ElementStyleRule() |
Modifier and Type | Method and Description |
---|---|
void |
addSelector(CSSSelector selector) |
void |
addSelector(int index,
CSSSelector selector) |
void |
clearSelectors() |
ElementStyleRule |
clone()
Creates and returns a copy of this object.
|
ElementStyleRule |
derive(boolean preserveId) |
boolean |
equals(Object o) |
CSSSelector |
getSelector(int index) |
int |
getSelectorCount() |
List<CSSSelector> |
getSelectorList() |
int |
hashCode() |
void |
removeSelector(CSSSelector element) |
void |
removeSelector(int index) |
addAll, addDefault, addInherited, addInherited, addListener, clear, copyFrom, getChangeTracker, getChangeTrackerHash, getDefinedPropertyNamesArray, getModificationCount, getPropertyKeyList, getPropertyKeys, getStyleProperty, isLocalKey, removeListener, setBooleanStyleProperty, setChangeTrackerHash, setModificationCount, setStyleProperty, toArray
getBooleanStyleProperty, getBooleanStyleProperty, getDoubleStyleProperty, getId, getIntStyleProperty, getStyleProperty, setId
public List<CSSSelector> getSelectorList()
public void addSelector(CSSSelector selector)
public void addSelector(int index, CSSSelector selector)
public CSSSelector getSelector(int index)
public void removeSelector(int index)
public void removeSelector(CSSSelector element)
public int getSelectorCount()
public ElementStyleRule clone()
ElementStyleSheet
clone
in class ElementStyleSheet
Cloneable
public ElementStyleRule derive(boolean preserveId)
derive
in class ElementStyleSheet
public void clearSelectors()
Copyright © 2017 Hitachi Vantara. All rights reserved.