freemind.view.mindmapview
Class BubbleNodeView
public class BubbleNodeView
This class represents a single Bubble-Style Node of a MindMap
(in analogy to TreeCellRenderer).
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 |
LEFT_HEIGHT_OVERHEAD
public final int LEFT_HEIGHT_OVERHEAD
LEFT_WIDTH_OVERHEAD
public final int LEFT_WIDTH_OVERHEAD
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
paintSelected
public void paintSelected(Graphics2D graphics,
Dimension size)
- paintSelected in interface NodeView