public class PannerHandler extends Object
Modifier and Type | Field and Description |
---|---|
static long |
MOVE_TIMEOUT |
static int |
PANNER_MASK |
Constructor and Description |
---|
PannerHandler(JComponent target,
Dimension size) |
PannerHandler(JComponent target,
Dimension size,
int percent,
Point offset) |
PannerHandler(JComponent target,
int percent) |
PannerHandler(JComponent target,
int percent,
Point offset) |
Modifier and Type | Method and Description |
---|---|
void |
hide() |
boolean |
isShowing() |
static void |
main(String[] args)
Demo.
|
void |
setPreserveAspect(boolean preserve) |
void |
setTransparency(float t) |
void |
show()
Display the panner until
hide() is called. |
public static final int PANNER_MASK
public static final long MOVE_TIMEOUT
public PannerHandler(JComponent target, Dimension size)
public PannerHandler(JComponent target, int percent)
public PannerHandler(JComponent target, int percent, Point offset)
public PannerHandler(JComponent target, Dimension size, int percent, Point offset)
public void show()
hide()
is called.public void setPreserveAspect(boolean preserve)
public void setTransparency(float t)
public void hide()
public boolean isShowing()
public static void main(String[] args)
Copyright © 2023. All rights reserved.