|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fraid.plugin.BehaviorBean
org.fraid.plugin.beans.ConsumptionDiagramPlugIn
public class ConsumptionDiagramPlugIn
| Field Summary | |
|---|---|
boolean |
literPerHundredKm
|
java.util.Date |
mBeginDate
|
double |
mBeginX
|
java.util.Vector<ConsumptionStruct> |
mData
|
java.util.Date |
mEndDate
|
double |
mEndX
|
java.util.Vector<ConsumptionStruct> |
mEvents
|
double |
mMaxCons
|
double |
mMinCons
|
java.util.Vector<java.lang.Double> |
mProcessedData
|
ColorMap |
plotColors
|
static double |
sKmPerMile
|
static double |
sLitersPerGallon
|
int |
smoothness
|
| Fields inherited from class org.fraid.plugin.BehaviorBean |
|---|
autoScale, backgroundColor, bottomRight, frameSize, gridColor, mAutoScaleMenuItem, mGridCrossPoints, mPainterThread, mPanel, numberGridMarkerDigitsX, numberGridMarkerDigitsY, upperLeft |
| Constructor Summary | |
|---|---|
ConsumptionDiagramPlugIn()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone when saving to file. |
void |
completePopupMenu(javax.swing.JPopupMenu aPopup)
See superclass. |
boolean |
doActionPerformed(java.awt.event.ActionEvent aE)
|
boolean |
doMousePressed(java.awt.event.MouseEvent aE)
|
boolean |
getLiterPerHundredKm()
Get the LiterPerHundredKm value. |
ColorMap |
getPlotColors()
Get the PlotColors value. |
int |
getSmoothness()
Get the Smoothness value. |
java.lang.String |
getToolTipText(java.awt.event.MouseEvent aE)
|
void |
processData()
|
void |
setGraphicsPanel(GraphicsUser aOwner)
See superclass. |
void |
setLiterPerHundredKm(boolean newLiterPerHundredKm)
Set the LiterPerHundredKm value. |
void |
setPlotColors(ColorMap newPlotColors)
Set the PlotColors value. |
void |
setSmoothness(int newSmoothness)
Set the Smoothness value. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ColorMap plotColors
public int smoothness
public boolean literPerHundredKm
public transient java.util.Vector<ConsumptionStruct> mData
public transient java.util.Vector<ConsumptionStruct> mEvents
public transient java.util.Vector<java.lang.Double> mProcessedData
public transient java.util.Date mBeginDate
public transient java.util.Date mEndDate
public transient double mBeginX
public transient double mEndX
public transient double mMinCons
public transient double mMaxCons
public static double sKmPerMile
public static double sLitersPerGallon
| Constructor Detail |
|---|
public ConsumptionDiagramPlugIn()
| Method Detail |
|---|
public boolean getLiterPerHundredKm()
public void setLiterPerHundredKm(boolean newLiterPerHundredKm)
newLiterPerHundredKm - The new LiterPerHundredKm value.public int getSmoothness()
public void setSmoothness(int newSmoothness)
newSmoothness - The new Smoothness value.public ColorMap getPlotColors()
public void setPlotColors(ColorMap newPlotColors)
newPlotColors - The new PlotColors value.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
BehaviorBean
clone in class BehaviorBeanObject value
java.lang.CloneNotSupportedException - if an error occurs
public void setGraphicsPanel(GraphicsUser aOwner)
throws PlugInException
BehaviorBean
setGraphicsPanel in interface BehaviorBeanInterfacesetGraphicsPanel in class BehaviorBeanaOwner - a GraphicsUser value
PlugInException - if an error occurspublic void completePopupMenu(javax.swing.JPopupMenu aPopup)
BehaviorBean
completePopupMenu in interface BehaviorBeanInterfacecompletePopupMenu in class BehaviorBeanaPopup - a JPopupMenu valuepublic boolean doActionPerformed(java.awt.event.ActionEvent aE)
doActionPerformed in class BehaviorBeanpublic boolean doMousePressed(java.awt.event.MouseEvent aE)
doMousePressed in class BehaviorBeanpublic java.lang.String getToolTipText(java.awt.event.MouseEvent aE)
getToolTipText in class BehaviorBeanpublic void processData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||