public abstract class NodeViewLayoutAdapter extends java.lang.Object implements NodeViewLayout
Modifier and Type | Field and Description |
---|---|
protected int |
LISTENER_VIEW_WIDTH |
protected java.awt.Point |
location |
Constructor and Description |
---|
NodeViewLayoutAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addLayoutComponent(java.lang.String arg0,
java.awt.Component arg1) |
protected int |
getChildContentHeight(boolean isLeft) |
protected int |
getChildCount() |
protected int |
getChildHorizontalShift() |
protected int |
getChildVerticalShift(boolean isLeft) |
protected javax.swing.JComponent |
getContent() |
protected MindMapNode |
getModel() |
protected NodeView |
getView() |
protected abstract void |
layout() |
void |
layoutContainer(java.awt.Container c) |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container arg0) |
protected void |
placeLeftChildren(int childVerticalShift) |
protected void |
placeRightChildren(int childVerticalShift) |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container c) |
void |
removeLayoutComponent(java.awt.Component arg0) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMainViewInPoint, getMainViewOutPoint, layoutNodeMotionListenerView
protected final int LISTENER_VIEW_WIDTH
protected java.awt.Point location
public void addLayoutComponent(java.lang.String arg0, java.awt.Component arg1)
addLayoutComponent
in interface java.awt.LayoutManager
public void removeLayoutComponent(java.awt.Component arg0)
removeLayoutComponent
in interface java.awt.LayoutManager
public java.awt.Dimension minimumLayoutSize(java.awt.Container arg0)
minimumLayoutSize
in interface java.awt.LayoutManager
public java.awt.Dimension preferredLayoutSize(java.awt.Container c)
preferredLayoutSize
in interface java.awt.LayoutManager
public void layoutContainer(java.awt.Container c)
layoutContainer
in interface java.awt.LayoutManager
protected abstract void layout()
protected NodeView getView()
protected MindMapNode getModel()
protected int getChildCount()
protected javax.swing.JComponent getContent()
protected int getChildContentHeight(boolean isLeft)
protected int getChildVerticalShift(boolean isLeft)
protected int getChildHorizontalShift()
protected void placeRightChildren(int childVerticalShift)
protected void placeLeftChildren(int childVerticalShift)