| Modifier and Type | Field and Description |
|---|---|
| private int[] | |
| private final boolean | |
| private int | |
| private BufferedImage | |
| private final Insets | |
| private final ColorPanel | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static int | |
| private static float | |
| public void | mouseClicked(MouseEvent event)
Implements java. Invoked when the mouse button has been clicked (pressed and released) on a component. |
| public void | mouseDragged(MouseEvent event)
Implements java. Invoked when a mouse button is pressed on a component and then dragged. |
| public void | mouseEntered(MouseEvent event)
Implements java. Invoked when the mouse enters a component. |
| public void | mouseExited(MouseEvent event)
Implements java. Invoked when the mouse exits a component. |
| public void | mouseMoved(MouseEvent event)
Implements java. Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed. |
| public void | mousePressed(MouseEvent event)
Implements java. Invoked when a mouse button has been pressed on a component. |
| public void | mouseReleased(MouseEvent event)
Implements java. Invoked when a mouse button has been released on a component. |
| protected void | paintComponent(Graphics g)
Overrides javax. Calls the UI delegate's paint method, if the UI delegate
is non- |
| array | back to summary |
|---|---|
| private int[] array | |
| diagram | back to summary |
|---|---|
| private final boolean diagram | |
| height | back to summary |
|---|---|
| private int height Hides java. | |
| image | back to summary |
|---|---|
| private BufferedImage image | |
| insets | back to summary |
|---|---|
| private final Insets insets | |
| panel | back to summary |
|---|---|
| private final ColorPanel panel | |
| width | back to summary |
|---|---|
| private int width Hides java. | |
| DiagramComponent | back to summary |
|---|---|
| pack-priv DiagramComponent(ColorPanel panel, boolean diagram) | |
| getValue | back to summary |
|---|---|
| private static int getValue(float value, int min, int max) | |
| getValue | back to summary |
|---|---|
| private static float getValue(int value, int min, int max) | |
| mouseClicked | back to summary |
|---|---|
| public void mouseClicked(MouseEvent event) Implements java. Doc from java. Invoked when the mouse button has been clicked (pressed and released) on a component. | |
| mouseDragged | back to summary |
|---|---|
| public void mouseDragged(MouseEvent event) Implements java. Doc from java. Invoked when a mouse button is pressed on a component and then
dragged.
Due to platform-dependent Drag&Drop implementations,
| |
| mouseEntered | back to summary |
|---|---|
| public void mouseEntered(MouseEvent event) Implements java. Doc from java. Invoked when the mouse enters a component. | |
| mouseExited | back to summary |
|---|---|
| public void mouseExited(MouseEvent event) Implements java. Doc from java. Invoked when the mouse exits a component. | |
| mouseMoved | back to summary |
|---|---|
| public void mouseMoved(MouseEvent event) Implements java. Doc from java. Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed. | |
| mousePressed | back to summary |
|---|---|
| public void mousePressed(MouseEvent event) Implements java. Doc from java. Invoked when a mouse button has been pressed on a component. | |
| mouseReleased | back to summary |
|---|---|
| public void mouseReleased(MouseEvent event) Implements java. Doc from java. Invoked when a mouse button has been released on a component. | |
| paintComponent | back to summary |
|---|---|
| protected void paintComponent(Graphics g) Overrides javax. Doc from javax. Calls the UI delegate's paint method, if the UI delegate
is non-
If you override this in a subclass you should not make permanent
changes to the passed in
The passed in
| |