JHotDraw 7.4.1

org.jhotdraw.app.osx
Class OSXPaletteHandler

java.lang.Object
  extended by org.jhotdraw.app.osx.OSXPaletteHandler

public class OSXPaletteHandler
extends java.lang.Object

Hides all registered floating palettes, if none of the registered view windows have focus anymore.

Version:
$Id: OSXPaletteHandler.java 604 2010-01-09 12:00:29Z rawcoder $
Author:
Werner Randelshofer

Constructor Summary
OSXPaletteHandler(OSXApplication app)
          Creates a new instance.
 
Method Summary
 void add(java.awt.Window window, View view)
           
 void addPalette(java.awt.Window palette)
           
 void addWindow(java.awt.Window window)
           
 java.util.Set<java.awt.Window> getPalettes()
           
 void remove(java.awt.Window window)
           
 void removePalette(java.awt.Window palette)
           
 void removeWindow(java.awt.Window window)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSXPaletteHandler

public OSXPaletteHandler(OSXApplication app)
Creates a new instance.

Method Detail

add

public void add(java.awt.Window window,
                View view)

remove

public void remove(java.awt.Window window)

addPalette

public void addPalette(java.awt.Window palette)

removePalette

public void removePalette(java.awt.Window palette)

getPalettes

public java.util.Set<java.awt.Window> getPalettes()

addWindow

public void addWindow(java.awt.Window window)

removeWindow

public void removeWindow(java.awt.Window window)

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.