com.simulogic.dataview.cursors
Class CursorSliderAdditionalUI
java.lang.Object
com.simulogic.dataview.cursors.CursorSliderAdditionalUI
public class CursorSliderAdditionalUI
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CursorSliderAdditionalUI
public CursorSliderAdditionalUI(javax.swing.plaf.basic.BasicSliderUI ui)
installUI
public void installUI(javax.swing.JComponent c)
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
calculateThumbSize
protected void calculateThumbSize()
calculateThumbLocation
protected void calculateThumbLocation()
getThumbNum
public int getThumbNum()
getThumbRects
public java.awt.Rectangle[] getThumbRects()
setThumbLocationAt
public void setThumbLocationAt(double x,
double y,
int index)
getTrackRect
public java.awt.Rectangle getTrackRect()
xPositionForValue
public double xPositionForValue(double value)
yPositionForValue
public double yPositionForValue(double value)
valueForYPosition
public double valueForYPosition(double yPos)
- Returns a value give a y position. If yPos is past the track at the top
or the bottom it will set the value to the min or max of the slider,
depending if the slider is inverted or not.
valueForXPosition
public double valueForXPosition(double xPos)
- Returns a value give an x position. If xPos is past the track at the left
or the right it will set the value to the min or max of the slider,
depending if the slider is inverted or not.
drawInverted
protected boolean drawInverted()
Copyright (c) 1999 - 2007 Cell Electrophysiology Simulation Environment (CESE). All rights reserved.