public final class RolloverEffect extends MouseAdapter
Modifier and Type | Field and Description |
---|---|
static int |
ETCHED_DOWN |
static int |
ETCHED_UP |
static int |
NONE |
static int |
RAISED |
Constructor and Description |
---|
RolloverEffect(JComponent buttonIn) |
RolloverEffect(JComponent buttonIn,
int norm,
int active) |
Modifier and Type | Method and Description |
---|---|
static Color |
linMod(Color c,
int d) |
void |
makeBorders() |
void |
mouseEntered(MouseEvent me) |
void |
mouseExited(MouseEvent me) |
static Color |
myBrighter(Color c) |
static Color |
myDarker(Color c) |
void |
setBg(Color c) |
void |
setPadding(int p) |
void |
setPadding(int pl,
int pr,
int pt,
int pb) |
mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
public static final int NONE
public static final int ETCHED_DOWN
public static final int ETCHED_UP
public static final int RAISED
public RolloverEffect(JComponent buttonIn)
public RolloverEffect(JComponent buttonIn, int norm, int active)
public void setPadding(int p)
public void setPadding(int pl, int pr, int pt, int pb)
public void setBg(Color c)
public void makeBorders()
public void mouseEntered(MouseEvent me)
mouseEntered
in interface MouseListener
mouseEntered
in class MouseAdapter
public void mouseExited(MouseEvent me)
mouseExited
in interface MouseListener
mouseExited
in class MouseAdapter
Copyright © 2019. All rights reserved.