mima.presentation.gwt.mindmap
Class CentralNodeView

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by mima.presentation.gwt.mindmap.NodeView
                  extended by mima.presentation.gwt.mindmap.CentralNodeView
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, NodeObserver

public class CentralNodeView
extends NodeView

Author:
Virginio Carfagno

Field Summary
private  com.google.gwt.user.client.ui.AbsolutePanel _leftEdges
           
private  com.google.gwt.user.client.ui.VerticalPanel _leftSubNodeViews
           
private  com.google.gwt.user.client.ui.AbsolutePanel _rightEdges
           
private  com.google.gwt.user.client.ui.VerticalPanel _rightSubNodeViews
           
 
Fields inherited from class mima.presentation.gwt.mindmap.NodeView
_node, _nodeComponentContainer, _nodeCore, _nodeView, EDGES_WIDTH, IsCreateSubNode
 
Constructor Summary
CentralNodeView(CentralNode centralNode)
           
 
Method Summary
private  void composeCentralNodeView()
           
private  com.google.gwt.user.client.ui.VerticalPanel createLeftSubNodeViewsContainer()
           
private  com.google.gwt.user.client.ui.VerticalPanel createRightSubNodeViewsContainer()
           
private  com.google.gwt.user.client.ui.VerticalPanel createSubNodeViewsContainer(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant alignment)
           
protected  void expand(boolean value)
           
private  CentralNode getCentralNode()
           
 java.lang.String getCentralNodeTitle()
          This method was introduced for testing with Pattern Window Driver.
(package private)  boolean isComposeRight()
           
protected  void redrawAllEdges()
           
protected  void updateTreeStructure()
           
 
Methods inherited from class mima.presentation.gwt.mindmap.NodeView
createEdgesContainer, getAbsoluteEdgeConnectionPointY, nodeChanged, onLoad, showPopupMenu, showTitleEditor, updateView
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getElement, initWidget, onAttach, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onBrowserEvent, removeFromParent
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleName, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getTitle, isVisible, isVisible, removeStyleName, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_leftEdges

private com.google.gwt.user.client.ui.AbsolutePanel _leftEdges

_leftSubNodeViews

private com.google.gwt.user.client.ui.VerticalPanel _leftSubNodeViews

_rightEdges

private com.google.gwt.user.client.ui.AbsolutePanel _rightEdges

_rightSubNodeViews

private com.google.gwt.user.client.ui.VerticalPanel _rightSubNodeViews
Constructor Detail

CentralNodeView

public CentralNodeView(CentralNode centralNode)
Method Detail

composeCentralNodeView

private void composeCentralNodeView()

createLeftSubNodeViewsContainer

private com.google.gwt.user.client.ui.VerticalPanel createLeftSubNodeViewsContainer()

createRightSubNodeViewsContainer

private com.google.gwt.user.client.ui.VerticalPanel createRightSubNodeViewsContainer()

createSubNodeViewsContainer

private com.google.gwt.user.client.ui.VerticalPanel createSubNodeViewsContainer(com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant alignment)

expand

protected void expand(boolean value)
Specified by:
expand in class NodeView

getCentralNode

private CentralNode getCentralNode()

getCentralNodeTitle

public java.lang.String getCentralNodeTitle()
This method was introduced for testing with Pattern Window Driver.


isComposeRight

boolean isComposeRight()
Specified by:
isComposeRight in class NodeView

redrawAllEdges

protected void redrawAllEdges()
Specified by:
redrawAllEdges in class NodeView

updateTreeStructure

protected void updateTreeStructure()
Specified by:
updateTreeStructure in class NodeView