| java.lang.Object org.netbeans.modules.visualweb.designer.jsf.text.DomDocumentImpl
DomDocumentImpl | public class DomDocumentImpl implements DomProvider.DomDocument(Code) | | XXX Moved from designer/../Document.
Wrapper object for dom documents; holds some additional
state and document methods.
author: Tor Norbye |
Method Summary | |
public void | addDomDocumentListener(DomDocumentListener l) | public void | align(Designer designer, JsfForm.Alignment alignment) | public void | backComponents(Box[] boxes) | public int | compareBoudaryPoints(Node endPointA, int offsetA, Node endPointB, int offsetB) | public DomProvider.DomPosition | createDomPosition(Node node, int offset, DomPosition.Bias bias) | public DomProvider.DomPosition | createNextDomPosition(Node node, boolean after) | public DomProvider.DomRange | createRange(Node dotNode, int dotOffset, Node markNode, int markOffset) | public void | deleteComponents(Element[] componentRootElements) | public boolean | deleteNextChar(Designer designer, DomRange range) | public boolean | deletePreviousChar(Designer designer, DomRange range) | public boolean | deleteRangeContents(DomRange domRange) | public DomProvider.DomPosition | first(DomProvider.DomPosition dot, org.netbeans.modules.visualweb.api.designer.DomProvider.DomPosition mark) | public void | frontComponents(Box[] boxes) | JsfForm | getJsfForm() | public String | getRangeText(DomRange domRange) | public boolean | insertString(Designer designer, DomRange domRange, String str) | boolean | isRenderedNode(Node node) | public DomProvider.DomPosition | last(DomProvider.DomPosition dot, org.netbeans.modules.visualweb.api.designer.DomProvider.DomPosition mark) | public void | moveComponents(Designer designer, Box[] boxes, Point[] offsetPoints, DomPosition pos, int newX, int newY, boolean snapEnabled) | public void | removeDomDocumentListener(DomDocumentListener l) | public void | resizeComponent(Designer designer, Element componentRootElement, int newX, boolean xMoved, int newY, boolean yMoved, int newWidth, boolean widthChanged, int newHeight, boolean heightChanged, Box box, boolean snapEnabled) Resize the given component to new dimensions. | public void | snapToGrid(Designer designer) | public String | toString() |
addDomDocumentListener | public void addDomDocumentListener(DomDocumentListener l)(Code) | | |
backComponents | public void backComponents(Box[] boxes)(Code) | | |
compareBoudaryPoints | public int compareBoudaryPoints(Node endPointA, int offsetA, Node endPointB, int offsetB)(Code) | | |
deleteComponents | public void deleteComponents(Element[] componentRootElements)(Code) | | |
deleteNextChar | public boolean deleteNextChar(Designer designer, DomRange range)(Code) | | |
deletePreviousChar | public boolean deletePreviousChar(Designer designer, DomRange range)(Code) | | |
deleteRangeContents | public boolean deleteRangeContents(DomRange domRange)(Code) | | |
frontComponents | public void frontComponents(Box[] boxes)(Code) | | |
getRangeText | public String getRangeText(DomRange domRange)(Code) | | |
isRenderedNode | boolean isRenderedNode(Node node)(Code) | | |
moveComponents | public void moveComponents(Designer designer, Box[] boxes, Point[] offsetPoints, DomPosition pos, int newX, int newY, boolean snapEnabled)(Code) | | |
removeDomDocumentListener | public void removeDomDocumentListener(DomDocumentListener l)(Code) | | |
resizeComponent | public void resizeComponent(Designer designer, Element componentRootElement, int newX, boolean xMoved, int newY, boolean yMoved, int newWidth, boolean widthChanged, int newHeight, boolean heightChanged, Box box, boolean snapEnabled)(Code) | | Resize the given component to new dimensions.
Note that the x,y position might change too, for example, when
you resize the component by dragging a selection handle on the
top or left edges of the component.
Parameters: editor - The editor containing the resized component Parameters: component - Component being resized Parameters: element - The DOM element for the component Parameters: newX - The left edge of the component after resize Parameters: xMoved - True iff the left edge position changed during the resize Parameters: newY - The top edge of the component after resize Parameters: yMoved - True iff the top edge position moved during the resize Parameters: newWidth - The new width after resize Parameters: newHeight - The new height after resize Parameters: box - Box being resized Parameters: snapDisabled - If true, skip snapping |
|
|