java.lang.Object
gnu.xml.dom.DomNode
gnu.xml.dom.DomNsNode
gnu.xml.dom.DomElement
gnu.xml.dom.html2.DomHTMLElement
gnu.xml.dom.html2.DomHTMLMenuElement
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable, org.w3c.dom.events.DocumentEvent, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html2.HTMLElement, org.w3c.dom.html2.HTMLMenuElement, org.w3c.dom.Node, org.w3c.dom.NodeList
- public class DomHTMLMenuElement
- extends DomHTMLElement
- implements org.w3c.dom.html2.HTMLMenuElement
An HTML 'MENU' element node.
| Nested classes inherited from class gnu.xml.dom.DomNode |
|
| Fields inherited from class gnu.xml.dom.DomElement |
|
| Fields inherited from class gnu.xml.dom.DomNsNode |
|
| Fields inherited from class gnu.xml.dom.DomNode |
|
| 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 |
|
Method Summary |
boolean |
getCompact()
Reduce spacing between list items. |
void |
setCompact(boolean compact)
Reduce spacing between list items. |
| Methods inherited from class gnu.xml.dom.html2.DomHTMLElement |
dispatchUIEvent, getBooleanHTMLAttribute, getChildElement, getClassName, getDir, getHTMLAttribute, getId, getIndex, getIntHTMLAttribute, getLang, getParentElement, getTitle, setBooleanHTMLAttribute, setClassName, setDir, setHTMLAttribute, setId, setIntHTMLAttribute, setLang, setTitle |
| Methods inherited from class gnu.xml.dom.DomElement |
clone, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isDefaultNamespace, isEqualNode, lookupNamespaceURI, lookupPrefix, makeReadonly, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from class gnu.xml.dom.DomNode |
addEventListener, appendChild, cloneNode, compact, compareDocumentPosition, compareTo, createEvent, dispatchEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLength, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isReadonly, isSameNode, isSupported, item, list, nameAndTypeEquals, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setTextContent, setUserData, toString, trimToSize |
| Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
DomHTMLMenuElement
protected DomHTMLMenuElement(DomHTMLDocument owner,
java.lang.String namespaceURI,
java.lang.String name)
getCompact
public boolean getCompact()
- Description copied from interface:
org.w3c.dom.html2.HTMLMenuElement
- Reduce spacing between list items. See the compact attribute definition
in HTML 4.01. This attribute is deprecated in HTML 4.01.
- Specified by:
getCompact in interface org.w3c.dom.html2.HTMLMenuElement
setCompact
public void setCompact(boolean compact)
- Description copied from interface:
org.w3c.dom.html2.HTMLMenuElement
- Reduce spacing between list items. See the compact attribute definition
in HTML 4.01. This attribute is deprecated in HTML 4.01.
- Specified by:
setCompact in interface org.w3c.dom.html2.HTMLMenuElement