org.nakedobjects.plugins.dnd.viewer.tree
Class MasterDetailPanel

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
      extended by org.nakedobjects.plugins.dnd.viewer.view.simple.ObjectView
          extended by org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractCompositeView
              extended by org.nakedobjects.plugins.dnd.viewer.tree.MasterDetailPanel
All Implemented Interfaces:
java.lang.Cloneable, View

public class MasterDetailPanel
extends AbstractCompositeView


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractCompositeView
views
 
Fields inherited from interface org.nakedobjects.plugins.dnd.View
HPADDING, VPADDING
 
Constructor Summary
MasterDetailPanel(Content content, ViewSpecification specification, ViewAxis axis, ViewSpecification rightHandSideSpecification)
           
 
Method Summary
protected  void buildView()
           
protected  void doLayout(Size maximumSize)
           
 Size getMaximumSize()
           
 Size getRequiredSize(Size maximumSize)
           
 void setSelectedNode(View view)
           
protected  void showInRightPane(View view)
           
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractCompositeView
add, addView, canDragView, debug, debugStructure, dispose, draw, getBaseline, getFocusManager, getSubviews, invalidateContent, invalidateLayout, isLayoutInvalid, layout, pickupView, refresh, removeView, replaceView, setCanDragView, setFocusManager, subviewFor, subviews, update, viewAreaType
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.ObjectView
contentMenuOptions, dragIn, dragOut, dragStart, drop, firstClick, secondClick
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
assignId, canChangeValue, canFocus, contains, containsFocus, drag, drag, dragCancel, dragFrom, dragTo, drop, editComplete, entered, exited, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getId, getLocation, getPadding, getParent, getSize, getSpecification, getState, getView, getViewAxis, getViewManager, getWorkspace, hasFocus, identify, keyPressed, keyReleased, keyTyped, limitBoundsWithin, limitBoundsWithin, markDamaged, markDamaged, mouseDown, mouseMoved, mouseUp, objectActionResult, pickupContent, print, replaceOptions, setBounds, setContent, setLocation, setMaximumSize, setParent, setSize, setSpecification, setView, setViewAxis, thirdClick, updateView, viewMenuOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MasterDetailPanel

public MasterDetailPanel(Content content,
                         ViewSpecification specification,
                         ViewAxis axis,
                         ViewSpecification rightHandSideSpecification)
Method Detail

buildView

protected void buildView()
Specified by:
buildView in class AbstractCompositeView

doLayout

protected void doLayout(Size maximumSize)
Specified by:
doLayout in class AbstractCompositeView

getMaximumSize

public Size getMaximumSize()
Specified by:
getMaximumSize in interface View
Specified by:
getMaximumSize in class AbstractCompositeView

getRequiredSize

public Size getRequiredSize(Size maximumSize)
Specified by:
getRequiredSize in interface View
Overrides:
getRequiredSize in class AbstractView

showInRightPane

protected void showInRightPane(View view)

setSelectedNode

public void setSelectedNode(View view)

toString

public java.lang.String toString()
Overrides:
toString in class AbstractCompositeView


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.