freemind.view.mindmapview
Class RootNodeView
public class RootNodeView
This is a RootNode with different placing of children
and different painting than a normal NodeView
DRAGGED_OVER_NO, DRAGGED_OVER_SIBLING, DRAGGED_OVER_SON, DRAGGED_OVER_SON_LEFT, LEFT_HEIGHT_OVERHEAD, LEFT_WIDTH_OVERHEAD, dragColor, edge, isDraggedOver, map, model, selectedColor, treeHeight |
dropAsSibling, dropPosition, followLink, getChildrenViews, getCoordinates, getDraggedOver, getIsLong, getLeftWidthOverhead, getModel, getNextPage, getNextSibling, getNextSiblingSingle, getParentView, getPreferredSize, getPreviousPage, getPreviousSibling, getPreviousSiblingSingle, getSiblingViews, isChildOf, isLeft, isParentOf, isRoot, isSelected, isSiblingOf, newNodeView, paint, paintDragOver, paintSelected, requestFocus, setDraggedOver, setDraggedOver, setLeft, setMap, setModel, setRendering, updateCursor |
dropPosition
public boolean dropPosition(double xCoord)
- dropPosition in interface NodeView
- true if should be on the left, false otherwise.
getPreferredSize
public Dimension getPreferredSize()
Changed to remove the printing bug of java.
- getPreferredSize in interface NodeView
paint
public void paint(Graphics graphics)
Paints the node
- paint in interface NodeView
paintDragOver
public void paintDragOver(Graphics2D graphics,
Dimension size)- paintDragOver in interface NodeView
paintSelected
public void paintSelected(Graphics2D graphics,
Dimension size)- paintSelected in interface NodeView