org.jhotdraw.contrib
Interface Desktop

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

public interface Desktop

Version:
<$CURRENT_VERSION$>
Author:
C.L.Gilbert

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

static final int PRIMARY
See Also:
Constant Field Values

SECONDARY

static final int SECONDARY
See Also:
Constant Field Values

TERTIARY

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

getActiveDrawingView

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


addToDesktop

void addToDesktop(DrawingView dv,
                  int location)

removeFromDesktop

void removeFromDesktop(DrawingView dv,
                       int location)

removeAllFromDesktop

void removeAllFromDesktop(int location)

getAllFromDesktop

DrawingView[] getAllFromDesktop(int location)

updateTitle

void updateTitle(java.lang.String newDrawingTitle)

addDesktopListener

void addDesktopListener(DesktopListener dpl)

removeDesktopListener

void removeDesktopListener(DesktopListener dpl)