|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window java.awt.Dialog javax.swing.JDialog net.sourceforge.pavlov.pluglets.feedback.AbstractFeedbackPluglet net.sourceforge.pavlov.pluglets.feedback.charts.JPieChartFeedbackPluglet
public abstract class JPieChartFeedbackPluglet
Describe class JPieChartFeedbackPluglet
here.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JDialog |
---|
JDialog.AccessibleJDialog |
Nested classes/interfaces inherited from class java.awt.Dialog |
---|
Dialog.AccessibleAWTDialog |
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected JMenuBar |
foo
This pluglet's JMenuBar. |
protected HelpSystem |
help
This pluglet's HelpSystem. |
protected ChartPanel |
hmm
The ChartPanel to display the PieChart in. |
Fields inherited from class net.sourceforge.pavlov.pluglets.feedback.AbstractFeedbackPluglet |
---|
rb |
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
JPieChartFeedbackPluglet()
Creates a new JPieChartFeedbackPluglet instance. |
Method Summary | |
---|---|
ChartProperties |
getChartProperties()
Describe getChartProperties method here. |
abstract String |
getChartTitle()
Implement to set the chart's title. |
abstract String[] |
getLegendLabels()
Implement to identify the slices. |
LegendProperties |
getLegendProperties()
Describe getLegendProperties method here. |
abstract Paint[] |
getPaints()
Implement to color the slices. |
PieChart2DProperties |
getPieChart2DProperties()
Describe getPieChart2DProperties method here. |
Dimension |
getPreferredSize()
Describe getPreferredSize method here. |
void |
init()
Describe init method here. |
void |
paint(Graphics2D g)
Trick to get the ChartPanel to redraw correctly. |
void |
setBounds(int x,
int y,
int w,
int h)
Lets the ChartPanel reshape itself effectively. |
protected void |
setData(ArrayList v)
Describe setData method here. |
Methods inherited from class net.sourceforge.pavlov.pluglets.feedback.AbstractFeedbackPluglet |
---|
actionPerformed, answerEvent, setVisible, start, stop, toString |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sourceforge.pavlov.pluglets.Pluglet |
---|
getDescription, getName |
Field Detail |
---|
protected JMenuBar foo
protected HelpSystem help
protected ChartPanel hmm
Constructor Detail |
---|
public JPieChartFeedbackPluglet()
JPieChartFeedbackPluglet
instance.
Method Detail |
---|
public void init()
init
method here.
init
in class AbstractFeedbackPluglet
public abstract String getChartTitle()
String
valuepublic abstract String[] getLegendLabels()
String[]
valuepublic abstract Paint[] getPaints()
Paint[]
valuepublic LegendProperties getLegendProperties()
getLegendProperties
method here.
LegendProperties
valuepublic ChartProperties getChartProperties()
getChartProperties
method here.
ChartProperties
valuepublic PieChart2DProperties getPieChart2DProperties()
getPieChart2DProperties
method here.
PieChart2DProperties
valueprotected void setData(ArrayList v)
setData
method here.
v
- an ArrayList
valuepublic void setBounds(int x, int y, int w, int h)
setBounds
in class Window
x
- an int
valuey
- an int
valuew
- an int
valueh
- an int
valuepublic Dimension getPreferredSize()
getPreferredSize
method here.
getPreferredSize
in class Container
java.awt.Dimension
valuepublic void paint(Graphics2D g)
g
- a Graphics2D
value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |