Class NatTableElementAdapter
- java.lang.Object
-
- org.eclipse.e4.ui.css.core.dom.ElementAdapter
-
- org.eclipse.e4.ui.css.swt.dom.WidgetElement
-
- org.eclipse.nebula.widgets.nattable.extension.e4.css.NatTableElementAdapter
-
-
Field Summary
-
Fields inherited from class org.eclipse.e4.ui.css.swt.dom.WidgetElement
localName, namespaceURI, swtStyles
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
-
Constructor Summary
Constructors Constructor Description NatTableElementAdapter(NatTable natTable, org.eclipse.e4.ui.css.core.engine.CSSEngine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addVirtualChild(String label)
Add a virtual child to theNatTableElementAdapter
.void
dispose()
NodeList
getChildNodes()
protected NatTable
getControl()
int
getLength()
Node
getParentNode()
Node
item(int index)
-
Methods inherited from class org.eclipse.e4.ui.css.swt.dom.WidgetElement
applyStyles, computeAttributeSWTStyle, computeLocalName, computeNamespaceURI, computeStaticPseudoInstances, getAttribute, getCSSClass, getCSSClass, getCSSId, getCSSStyle, getEngine, getEngine, getID, getLocalName, getNamespaceURI, getWidget, hasAttribute, internalGetAttribute, reset, setCSSClass, setEngine, setID, toString
-
Methods inherited from class org.eclipse.e4.ui.css.core.dom.ElementAdapter
addStaticPseudoInstance, appendChild, cloneNode, compareDocumentPosition, copyDefaultStyleDeclarations, doApplyStyles, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getDefaultStyleDeclaration, getElement, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getNativeWidget, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, getSchemaTypeInfo, getStaticPseudoInstances, getStyle, getTagName, getTextContent, getUserData, hasAttributeNS, hasAttributes, hasChildNodes, initialize, insertBefore, isDefaultNamespace, isEqualNode, isPseudoInstanceOf, isSameNode, isStaticPseudoInstance, isSupported, lookupNamespaceURI, lookupPrefix, normalize, onStylesApplied, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultStyleDeclaration, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Constructor Detail
-
NatTableElementAdapter
public NatTableElementAdapter(NatTable natTable, org.eclipse.e4.ui.css.core.engine.CSSEngine engine)
-
-
Method Detail
-
getParentNode
public Node getParentNode()
- Specified by:
getParentNode
in interfaceNode
- Overrides:
getParentNode
in classorg.eclipse.e4.ui.css.swt.dom.WidgetElement
-
getControl
protected NatTable getControl()
-
getChildNodes
public NodeList getChildNodes()
- Specified by:
getChildNodes
in interfaceNode
- Overrides:
getChildNodes
in classorg.eclipse.e4.ui.css.swt.dom.WidgetElement
-
getLength
public int getLength()
-
item
public Node item(int index)
-
addVirtualChild
public void addVirtualChild(String label)
Add a virtual child to theNatTableElementAdapter
. This way the given label can be used as child selector in the CSS file.- Parameters:
label
- The label that should be usable as child selector.
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.e4.ui.css.core.dom.CSSStylableElement
- Overrides:
dispose
in classorg.eclipse.e4.ui.css.core.dom.ElementAdapter
- Since:
- 2.0
-
-