public class PaletteViewerEvent extends EventObject
PaletteViewerListener
when changes occur in the palette viewer.| Modifier and Type | Field and Description |
|---|---|
protected IlvPaletteCategory |
category
The palette category.
|
protected IlvPalette |
palette
The palette.
|
protected IlvPaletteSymbol |
symbol
The palette symbol.
|
source| Constructor and Description |
|---|
PaletteViewerEvent(IlvPaletteViewer viewer,
IlvPalette palette,
IlvPaletteCategory category,
IlvPaletteSymbol symbol)
Creates an event
|
| Modifier and Type | Method and Description |
|---|---|
IlvPaletteCategory |
getCategory()
Returns the category selected or deselected in the palette viewer which generated
the event
|
IlvPalette |
getPalette()
Returns the palette containing the category or the symbol associated to
this event
|
IlvPaletteSymbol |
getSymbol()
Returns the symbol selected or deselected in the palette viewer which generated
the event
|
IlvPaletteViewer |
getViewer()
Returns the viewer that has caused the event.
|
getSource, toStringprotected transient IlvPalette palette
getPalette()protected transient IlvPaletteSymbol symbol
getSymbol()protected transient IlvPaletteCategory category
getCategory()public PaletteViewerEvent(IlvPaletteViewer viewer, IlvPalette palette, IlvPaletteCategory category, IlvPaletteSymbol symbol)
viewer - The source of the event.palette - The palette that was affected by the change.category - The palette category that was affected by the change.symbol - The palette symbol that was affected by the change.public IlvPaletteCategory getCategory()
public IlvPaletteSymbol getSymbol()
public IlvPalette getPalette()
public IlvPaletteViewer getViewer()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.