public class ComponentTitledBorder extends Object implements Border, MouseListener, SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
Constructor and Description |
---|
ComponentTitledBorder(Component comp,
JComponent container,
Border border) |
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets(Component c) |
boolean |
isBorderOpaque() |
void |
mouseClicked(MouseEvent me) |
void |
mouseEntered(MouseEvent me) |
void |
mouseExited(MouseEvent me) |
void |
mousePressed(MouseEvent me) |
void |
mouseReleased(MouseEvent me) |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
public ComponentTitledBorder(Component comp, JComponent container, Border border)
public boolean isBorderOpaque()
isBorderOpaque
in interface Border
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
public void mouseClicked(MouseEvent me)
mouseClicked
in interface MouseListener
public void mouseEntered(MouseEvent me)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent me)
mouseExited
in interface MouseListener
public void mousePressed(MouseEvent me)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent me)
mouseReleased
in interface MouseListener
Copyright © 2019. All Rights Reserved.