Package net.sourceforge.jeuclid.layout
Interface LayoutableNode
- All Superinterfaces:
JEuclidNode,Node
- All Known Subinterfaces:
JEuclidElement,LayoutableDocument
- All Known Implementing Classes:
AbstractContainer,AbstractElementWithDelegates,AbstractInvisibleJEuclidElement,AbstractJEuclidElement,AbstractRoot,AbstractScriptElement,AbstractSubSuper,AbstractTableElement,AbstractTableRow,AbstractTokenWithTextLayout,AbstractUnderOver,Annotation,DocumentElement,ForeignElement,Maction,Maligngroup,Malignmark,MathImpl,Menclose,Merror,Mfenced,Mfrac,Mglyph,Mi,Mlabeledtr,Mmultiscripts,Mn,Mo,Mover,Mpadded,Mphantom,Mprescripts,Mroot,Mrow,Ms,Mspace,Msqrt,Mstyle,Msub,Msubsup,Msup,Mtable,Mtd,Mtext,Mtr,Munder,Munderover,None,Semantics
- Version:
- $Revision: 8afef6dd0d58 $
-
Field Summary
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
Modifier and TypeMethodDescriptionvoidlayoutStage1(LayoutView view, LayoutInfo info, LayoutStage childMinStage, LayoutContext context) context insensitive layout.voidlayoutStage2(LayoutView view, LayoutInfo info, LayoutContext context) context sensitive layout.Methods inherited from interface net.sourceforge.jeuclid.elements.JEuclidNode
getChildLayoutContextMethods 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
-
Method Details
-
getChildrenToLayout
List<LayoutableNode> getChildrenToLayout()- Returns:
- List of children to Layout. Normally, all children.
-
getChildrenToDraw
List<LayoutableNode> getChildrenToDraw()- Returns:
- List of children to Draw. Normally, all children.
-
layoutStage1
void layoutStage1(LayoutView view, LayoutInfo info, LayoutStage childMinStage, LayoutContext context) context insensitive layout.- Parameters:
view- LayoutView to use.info- LayoutInfo to manipulate.childMinStage- minimum stage of children. Either STAGE1 or STAGE2.context- LayoutContext for this element.
-
layoutStage2
context sensitive layout.- Parameters:
view- LayoutView to use.info- LayoutInfo to manipulate.context- LayoutContext for this element.
-