All Packages Class Hierarchy This Package Previous Next Index
Class ejmf.toolkit.gui.controls.VolumeControlButton
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.AbstractButton
|
+----com.sun.java.swing.JButton
|
+----ejmf.toolkit.gui.controls.BasicControlButton
|
+----ejmf.toolkit.gui.controls.BasicArrowButton
|
+----ejmf.toolkit.gui.controls.VolumeControlButton
- public class VolumeControlButton
- extends BasicArrowButton
VolumeControlButton allows creation of a small upward
or downward pointing arrow for use as a volume control.
- See Also:
- BasicArrowButton
-
DECREASE
- Create a downward pointing arrow.
-
INCREASE
- Create a upward pointing arrow.
-
VolumeControlButton(int)
- Create a VolumeControlButton.
-
getPreferredSize()
-
Make it the right size.
INCREASE
public static final int INCREASE
- Create a upward pointing arrow.
DECREASE
public static final int DECREASE
- Create a downward pointing arrow.
VolumeControlButton
public VolumeControlButton(int orientation)
- Create a VolumeControlButton.
- Parameters:
- orientation - Determines which way arrow points, NORTH
or SOUTH.
getPreferredSize
public Dimension getPreferredSize()
- Make it the right size.
- Returns:
- Always return (10, 10)
- Overrides:
- getPreferredSize in class BasicArrowButton
All Packages Class Hierarchy This Package Previous Next Index