All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.ui.SampleMeter

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----guinea.ui.SampleMeter

public class SampleMeter
extends Canvas
implements Adjustable, MouseListener, MouseMotionListener, SampleMonitorInterface, SamplePositionListener

Variable Index

· FIRST
· LAST
· TRACK

Constructor Index

· SampleMeter()
· SampleMeter(Sample)

Method Index

· addAdjustmentListener(AdjustmentListener)
· clearMonitored()
· getBlockIncrement()
· getEditable()
Deprecated.
· getMaximum()
· getMinimum()
· getMinimumSize()
Gets the mininimum size of this component.
· getMonitored()
· getOrientation()
· getPreferredSize()
Gets the preferred size of this component.
· getUnitIncrement()
· getValue()
· getVisibleAmount()
· isControlEnabled()
· isMonitorEnabled()
· mouseClicked(MouseEvent)
· mouseDragged(MouseEvent)
· mouseEntered(MouseEvent)
· mouseExited(MouseEvent)
· mouseMoved(MouseEvent)
· mousePressed(MouseEvent)
· mouseReleased(MouseEvent)
· paint(Graphics)
This method is called to repaint this canvas.
· removeAdjustmentListener(AdjustmentListener)
· samplePositionChanged(SamplePositionEvent)
· setBlockIncrement(int)
· setControlEnabled(boolean)
· setEditable(boolean)
Deprecated.
· setMaximum(int)
· setMinimum(int)
· setMonitored(Sample)
· setMonitorEnabled(boolean)
· setSample(Sample)
· setUnitIncrement(int)
· setValue(int)
· setVisibleAmount(int)

Variables

· FIRST
 public static final int FIRST
· LAST
 public static final int LAST
· TRACK
 public static final int TRACK

Constructors

· SampleMeter
 public SampleMeter()
· SampleMeter
 public SampleMeter(Sample sample)

Methods

· setSample
 public void setSample(Sample sample)
· getMinimum
 public int getMinimum()
· setMinimum
 public synchronized void setMinimum(int newMinimum)
· getMaximum
 public int getMaximum()
· setMaximum
 public synchronized void setMaximum(int newMaximum)
· getValue
 public int getValue()
· setValue
 public synchronized void setValue(int newValue)
· getPreferredSize
 public Dimension getPreferredSize()
Gets the preferred size of this component.

Overrides:
getPreferredSize in class Component
· getMinimumSize
 public Dimension getMinimumSize()
Gets the mininimum size of this component.

Overrides:
getMinimumSize in class Component
· paint
 public void paint(Graphics g)
This method is called to repaint this canvas.

Overrides:
paint in class Canvas
· samplePositionChanged
 public void samplePositionChanged(SamplePositionEvent e)
· addAdjustmentListener
 public void addAdjustmentListener(AdjustmentListener listener)
· removeAdjustmentListener
 public void removeAdjustmentListener(AdjustmentListener listener)
· setEditable
 public void setEditable(boolean editable)
Note: setEditable() is deprecated. Use setControlEnabled() instead.

· getEditable
 public boolean getEditable()
Note: getEditable() is deprecated. Use isControlEnabled() instead.

· mouseClicked
 public void mouseClicked(MouseEvent e)
· mousePressed
 public void mousePressed(MouseEvent e)
· mouseReleased
 public void mouseReleased(MouseEvent e)
· mouseEntered
 public void mouseEntered(MouseEvent e)
· mouseExited
 public void mouseExited(MouseEvent e)
· mouseDragged
 public void mouseDragged(MouseEvent e)
· mouseMoved
 public void mouseMoved(MouseEvent e)
· getOrientation
 public int getOrientation()
· setUnitIncrement
 public void setUnitIncrement(int u)
· getUnitIncrement
 public int getUnitIncrement()
· setBlockIncrement
 public void setBlockIncrement(int b)
· getBlockIncrement
 public int getBlockIncrement()
· setVisibleAmount
 public void setVisibleAmount(int v)
· getVisibleAmount
 public int getVisibleAmount()
· setMonitored
 public void setMonitored(Sample sample)
· getMonitored
 public Sample getMonitored()
· clearMonitored
 public void clearMonitored()
· setMonitorEnabled
 public void setMonitorEnabled(boolean enable)
· isMonitorEnabled
 public boolean isMonitorEnabled()
· setControlEnabled
 public void setControlEnabled(boolean enable)
· isControlEnabled
 public boolean isControlEnabled()

All Packages  Class Hierarchy  This Package  Previous  Next  Index