|
||||||||||
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 javax.swing.JComponent javax.swing.JPanel org.diyefi.openlogviewer.graphing.EntireGraphingPanel
public class EntireGraphingPanel
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
static int |
LEFT_OFFSCREEN_POINTS_ZOOMED_IN
|
static int |
LEFT_OFFSCREEN_POINTS_ZOOMED_OUT
|
static int |
RIGHT_OFFSCREEN_POINTS_ZOOMED_IN
|
static int |
RIGHT_OFFSCREEN_POINTS_ZOOMED_OUT
|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
EntireGraphingPanel(ResourceBundle labels)
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
|
void |
centerGraphPosition()
Used by external sources that don't know or care about the size of the graph. |
void |
componentHidden(ComponentEvent e)
|
void |
componentMoved(ComponentEvent e)
|
void |
componentResized(ComponentEvent e)
|
void |
componentShown(ComponentEvent e)
|
void |
fling()
|
double |
getGraphPosition()
|
GraphPositionPanel |
getGraphPositionPanel()
|
MultiGraphLayeredPane |
getMultiGraphLayeredPane()
|
int |
getZoom()
|
boolean |
isPlaying()
|
boolean |
isZoomedOutBeyondOneToOne()
|
void |
mouseClicked(MouseEvent e)
|
void |
mouseDragged(MouseEvent e)
|
void |
mouseEntered(MouseEvent e)
|
void |
mouseExited(MouseEvent e)
|
void |
mouseMoved(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
void |
mouseWheelMoved(MouseWheelEvent e)
|
void |
moveBackward()
Move the graph backward a small amount (with acceleration). |
void |
moveBackwardCoarse()
Move the graph backward a large amount. |
void |
moveBackwardPercentage(double amount)
Move the graph backward by a percentage (amount) of the screen width. |
void |
moveForward()
Move the graph forward a small amount (with acceleration). |
void |
moveForwardCoarse()
Move the graph forward a large amount. |
void |
moveGraphDueToResize()
When the windows is resized, the graph needs to move to maintain the centering. |
void |
moveToBeginning()
Move the graph to the beginning with the first data point centered. |
void |
moveToEnd()
Move the graph to the end with the last data point centered. |
void |
pause()
|
void |
play()
|
void |
resetPlaySpeed()
Resets the speed of playback to the original speed |
void |
setGraphPosition(double newPos)
|
void |
setGraphSize(int newGraphSize)
How many available data records we are dealing with. |
void |
setLog(GenericLog genLog)
|
void |
slowDown()
Slows the speed of playback (exponentially) |
void |
speedUp()
Increases the speed of the graph exponentially until the delay is zero, at which speed cannot be advanced any further and will essentially update as fast as possible. |
void |
zoomGraphToFit()
Used by external sources that don't know or care about the size of the graph. |
void |
zoomGraphToFit(int dataPointsToFit)
Zoom the graph so that if it is centered, then the entire graph will fit within the display. |
void |
zoomIn()
Zoom in by one. |
void |
zoomInCoarse()
Zoom in using steps larger the further away from 1:1 you are. |
void |
zoomOut()
Zoom out by one. |
void |
zoomOutCoarse()
Zoom out using steps larger the further away from 1:1 you are. |
void |
zoomResetRatio()
Zoom the graph to a 1:1 pixel-to-data-point ratio. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int LEFT_OFFSCREEN_POINTS_ZOOMED_IN
public static final int RIGHT_OFFSCREEN_POINTS_ZOOMED_IN
public static final int LEFT_OFFSCREEN_POINTS_ZOOMED_OUT
public static final int RIGHT_OFFSCREEN_POINTS_ZOOMED_OUT
Constructor Detail |
---|
public EntireGraphingPanel(ResourceBundle labels)
Method Detail |
---|
public final void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public final MultiGraphLayeredPane getMultiGraphLayeredPane()
public final GraphPositionPanel getGraphPositionPanel()
public final void setLog(GenericLog genLog)
public final void zoomInCoarse()
public final void zoomIn()
public final void zoomResetRatio()
public final void zoomGraphToFit(int dataPointsToFit)
public final void zoomGraphToFit()
public final void zoomOut()
public final void zoomOutCoarse()
public final boolean isZoomedOutBeyondOneToOne()
public final void slowDown()
public final void resetPlaySpeed()
public final void play()
public final void pause()
public final void speedUp()
public final void fling()
public final double getGraphPosition()
public final void setGraphPosition(double newPos)
public final void setGraphSize(int newGraphSize)
public final void moveToBeginning()
public final void moveBackward()
public final void moveBackwardCoarse()
public final void moveBackwardPercentage(double amount)
public final void centerGraphPosition()
public final void moveForward()
public final void moveForwardCoarse()
public final void moveToEnd()
public final boolean isPlaying()
public final int getZoom()
public final void moveGraphDueToResize()
public final void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public final void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public final void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
public final void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public final void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public final void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public final void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public final void mouseWheelMoved(MouseWheelEvent e)
mouseWheelMoved
in interface MouseWheelListener
public void componentHidden(ComponentEvent e)
componentHidden
in interface ComponentListener
public final void componentMoved(ComponentEvent e)
componentMoved
in interface ComponentListener
public final void componentResized(ComponentEvent e)
componentResized
in interface ComponentListener
public void componentShown(ComponentEvent e)
componentShown
in interface ComponentListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |