public class SectionClickEvent extends java.util.EventObject
JPieChart
.Constructor and Description |
---|
SectionClickEvent(java.lang.Object source,
java.lang.Comparable key)
Creates a new section click event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Comparable |
getSectionKey()
Returns the section key.
|
java.lang.String |
toString()
Returns a string that represents the state of this instance (suitable
for debugging purposes).
|
public SectionClickEvent(java.lang.Object source, java.lang.Comparable key)
source
- the event source (typically the JPieChart
).key
- the section key.public java.lang.Comparable getSectionKey()
public java.lang.String toString()
toString
in class java.util.EventObject