Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.spi.palette/1 1.6.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.netbeans.spi.palette
Class PaletteFilter

    java.lang.Object
      org.netbeans.spi.palette.PaletteFilter

    public abstract class PaletteFilter

extends Object

A palette filter than can prevent some categories and/or items from being displayed in palette's window.

Constructor Summary
`PaletteFilter()`

Method Summary
`abstract boolean` | `isValidCategory(Lookup lkp)`
`abstract boolean` | `isValidItem(Lookup lkp)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PaletteFilter

    public PaletteFilter()

Method Detail

### isValidCategory

    public abstract boolean isValidCategory(Lookup lkp)

  Parameters:
    `lkp` - Lookup representing a palette category.
  Returns:
    True if the category should be displayed in palette's window, false otherwise.

### isValidItem

    public abstract boolean isValidItem(Lookup lkp)

  Parameters:
    `lkp` - Lookup representing a palette item.
  Returns:
    True if the item should be displayed in palette's window, false otherwise.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.netbeans.spi.palette/1 1.6.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.