public class PaletteAdapter extends Object implements PaletteListener
PaletteListener
.
All methods are empty.Constructor and Description |
---|
PaletteAdapter()
Creates a new instance of
PaletteAdapter . |
Modifier and Type | Method and Description |
---|---|
void |
categoryAdded(PaletteEvent evt)
Invoked when a new category has been added into the palette.
|
void |
categoryRemoved(PaletteEvent evt)
Invoked when a category has been removed from the palette.
|
void |
symbolAdded(PaletteEvent evt)
Invoked when a new symbol has been added into the palette.
|
void |
symbolRemoved(PaletteEvent evt)
Invoked when a symbol has been removed from the palette.
|
void |
valueSetAdded(PaletteEvent evt)
Invoked when a new value set has been added into the palette.
|
void |
valueSetRemoved(PaletteEvent evt)
Invoked when a value set has been removed from the palette.
|
public void categoryAdded(PaletteEvent evt)
Note that the added category may already have child categories or child symbols, which become automatically part of the palette by adding the category. For these child categories and child symbols, no separate events are fired.
This implementation does nothing.
categoryAdded
in interface PaletteListener
evt
- The eventpublic void categoryRemoved(PaletteEvent evt)
Note that the removed category may have child categories or child symbols, which are automatically not anymore part of the palette by removing the category. For these child categories and child symbols, no separate events are fired.
This implementation does nothing.
categoryRemoved
in interface PaletteListener
evt
- The eventpublic void symbolAdded(PaletteEvent evt)
symbolAdded
in interface PaletteListener
evt
- The eventpublic void symbolRemoved(PaletteEvent evt)
symbolRemoved
in interface PaletteListener
evt
- The eventpublic void valueSetAdded(PaletteEvent evt)
valueSetAdded
in interface PaletteListener
evt
- The eventpublic void valueSetRemoved(PaletteEvent evt)
valueSetRemoved
in interface PaletteListener
evt
- The event© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.