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
- All Implemented Interfaces:
org.eclipse.e4.ui.css.core.dom.CSSStylableElement,Element,Node,NodeList
public class NatTableElementAdapter
extends org.eclipse.e4.ui.css.swt.dom.WidgetElement
-
Field Summary
Fields inherited from class org.eclipse.e4.ui.css.swt.dom.WidgetElement
localName, namespaceURI, swtStylesFields inherited from class org.eclipse.e4.ui.css.core.dom.ElementAdapter
engineFields 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
ConstructorsConstructorDescriptionNatTableElementAdapter(NatTable natTable, org.eclipse.e4.ui.css.core.engine.CSSEngine engine) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVirtualChild(String label) Add a virtual child to theNatTableElementAdapter.voiddispose()protected NatTableintitem(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, toStringMethods 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 Details
-
NatTableElementAdapter
public NatTableElementAdapter(NatTable natTable, org.eclipse.e4.ui.css.core.engine.CSSEngine engine)
-
-
Method Details
-
getParentNode
- Specified by:
getParentNodein interfaceNode- Overrides:
getParentNodein classorg.eclipse.e4.ui.css.swt.dom.WidgetElement
-
getControl
-
getChildNodes
- Specified by:
getChildNodesin interfaceNode- Overrides:
getChildNodesin classorg.eclipse.e4.ui.css.swt.dom.WidgetElement
-
getLength
public int getLength() -
item
-
addVirtualChild
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:
disposein interfaceorg.eclipse.e4.ui.css.core.dom.CSSStylableElement- Overrides:
disposein classorg.eclipse.e4.ui.css.core.dom.ElementAdapter- Since:
- 2.0
-