org.jhotdraw.contrib
Interface Desktop

All Known Implementing Classes:
JPanelDesktop, JScrollPaneDesktop, MDIDesktopPane, SplitPaneDesktop

public interface Desktop

Version:
<$CURRENT_VERSION$>

Field Summary
static int PRIMARY
           
static int SECONDARY
           
static int TERTIARY
           
 
Method Summary
 void addDesktopListener(DesktopListener dpl)
           
 void addToDesktop(DrawingView dv, int location)
           
 DrawingView getActiveDrawingView()
          For those absent minded components that were not paying attention to the listener events.
 DrawingView[] getAllFromDesktop(int location)
           
 void removeAllFromDesktop(int location)
           
 void removeDesktopListener(DesktopListener dpl)
           
 void removeFromDesktop(DrawingView dv, int location)
           
 void updateTitle(java.lang.String newDrawingTitle)
           
 

Field Detail

PRIMARY

public static final int PRIMARY
See Also:
Constant Field Values

SECONDARY

public static final int SECONDARY
See Also:
Constant Field Values

TERTIARY

public static final int TERTIARY
See Also:
Constant Field Values
Method Detail

getActiveDrawingView

public DrawingView getActiveDrawingView()
For those absent minded components that were not paying attention to the listener events.


addToDesktop

public void addToDesktop(DrawingView dv,
                         int location)

removeFromDesktop

public void removeFromDesktop(DrawingView dv,
                              int location)

removeAllFromDesktop

public void removeAllFromDesktop(int location)

getAllFromDesktop

public DrawingView[] getAllFromDesktop(int location)

updateTitle

public void updateTitle(java.lang.String newDrawingTitle)

addDesktopListener

public void addDesktopListener(DesktopListener dpl)

removeDesktopListener

public void removeDesktopListener(DesktopListener dpl)