|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.AbstractAction
net.sourceforge.doyen.ViewUsageReportsAction
| Nested Class Summary |
| Nested classes inherited from class javax.swing.AbstractAction |
|
| Field Summary | |
private static int |
CHART_HEIGHT
|
private static int |
CHART_WIDTH
|
private static int |
IMAGE_HEIGHT
|
private static int |
IMAGE_WIDTH
|
private static Logger |
mLogger
|
private Doyen |
mParent
|
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
ViewUsageReportsAction(Doyen parent)
|
|
| Method Summary | |
void |
actionPerformed(ActionEvent e)
|
private static void |
getDataAndLabels(ProfileType profile,
List alData,
List alLabels)
|
private static void |
getDataAndLabels(ProjectType project,
List alData,
List alLabels)
|
private static void |
getDataAndLabels(TaskType task,
List alData,
List alLabels)
|
private static org.jCharts.chartData.PieChartDataSet |
getDataSet(ProfileType profile,
String title,
org.jCharts.properties.PieChart2DProperties properties)
|
private static double[] |
getDoubleArray(List alData)
Now, to perform a magical conversion from an ArrayList of Longs to an array of doubles |
private static long |
getDuration(TimeLogType timelog)
|
private static Paint[] |
getPaints(int num)
|
private static String[] |
getStringArray(List alLabels)
|
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static Logger mLogger
private Doyen mParent
private static final int CHART_HEIGHT
private static final int CHART_WIDTH
private static final int IMAGE_HEIGHT
private static final int IMAGE_WIDTH
| Constructor Detail |
public ViewUsageReportsAction(Doyen parent)
| Method Detail |
public void actionPerformed(ActionEvent e)
private static org.jCharts.chartData.PieChartDataSet getDataSet(ProfileType profile,
String title,
org.jCharts.properties.PieChart2DProperties properties)
throws org.jCharts.chartData.ChartDataException
org.jCharts.chartData.ChartDataExceptionprivate static String[] getStringArray(List alLabels)
private static double[] getDoubleArray(List alData)
private static void getDataAndLabels(ProfileType profile,
List alData,
List alLabels)
private static void getDataAndLabels(ProjectType project,
List alData,
List alLabels)
private static void getDataAndLabels(TaskType task,
List alData,
List alLabels)
private static long getDuration(TimeLogType timelog)
private static Paint[] getPaints(int num)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||