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 |
protected static java.util.logging.Logger |
logger |
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) |
void |
layoutNodeFoldingComponent(NodeFoldingComponent pFoldingComponent) |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container arg0) |
protected void |
placeLeftChildren(int childVerticalShift)
Implemented in the base class, as the root layout needs it, too.
|
protected void |
placeRightChildren(int childVerticalShift)
Implemented in the base class, as the root layout needs it, too.
|
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 static java.util.logging.Logger logger
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)
isLeft
- protected int getChildHorizontalShift()
protected void placeRightChildren(int childVerticalShift)
childVerticalShift
- protected void placeLeftChildren(int childVerticalShift)
childVerticalShift
- public void layoutNodeFoldingComponent(NodeFoldingComponent pFoldingComponent)
layoutNodeFoldingComponent
in interface NodeViewLayout