public interface AssociatedPane
Modifier and Type | Method and Description |
---|---|
void |
dragAction(int x,
int y,
int[] colour)
Called when mouse is dragged.
|
int |
getNBands()
Return the number of channels in the image displayed in the associated
pane.
|
int |
getNBits()
Return the number of bits per channel in the image displayed in the
associated pane.
|
void |
moveAction(int x,
int y,
int[] colour)
Called when mouse is moved.
|
void |
pressAction(int x,
int y,
int[] colour)
Called when mouse is pressed.
|
void |
releaseAction(int x,
int y,
int[] colour)
Called when mouse is released.
|
void dragAction(int x, int y, int[] colour)
x
- The x coordinate of the mouse in the original pane.y
- The y coordinate of the mouse in the original pane.colour
- The channel values to be sent to the associated pane.void moveAction(int x, int y, int[] colour)
x
- The x coordinate of the mouse in the original pane.y
- The y coordinate of the mouse in the original pane.colour
- The channel values to be sent to the associated pane.void pressAction(int x, int y, int[] colour)
x
- The x coordinate of the mouse in the original pane.y
- The y coordinate of the mouse in the original pane.colour
- The channel values to be sent to the associated pane.void releaseAction(int x, int y, int[] colour)
x
- The x coordinate of the mouse in the original pane.y
- The y coordinate of the mouse in the original pane.colour
- The channel values to be sent to the associated pane.int getNBands()
int getNBits()