public class ComponentTitledBorder
extends java.lang.Object
implements javax.swing.border.Border, java.awt.event.MouseListener, javax.swing.SwingConstants
Constructor and Description |
---|
ComponentTitledBorder(java.awt.Component comp,
javax.swing.JComponent container,
javax.swing.border.Border border) |
ComponentTitledBorder(java.awt.Component comp,
javax.swing.JComponent container,
javax.swing.border.Border border,
int componentOffset) |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
boolean |
isBorderOpaque() |
void |
mouseClicked(java.awt.event.MouseEvent me) |
void |
mouseEntered(java.awt.event.MouseEvent me) |
void |
mouseExited(java.awt.event.MouseEvent me) |
void |
mousePressed(java.awt.event.MouseEvent me) |
void |
mouseReleased(java.awt.event.MouseEvent me) |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
public ComponentTitledBorder(java.awt.Component comp, javax.swing.JComponent container, javax.swing.border.Border border)
public ComponentTitledBorder(java.awt.Component comp, javax.swing.JComponent container, javax.swing.border.Border border, int componentOffset)
public boolean isBorderOpaque()
isBorderOpaque
in interface javax.swing.border.Border
public void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
paintBorder
in interface javax.swing.border.Border
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
public void mouseClicked(java.awt.event.MouseEvent me)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent me)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent me)
mouseExited
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent me)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent me)
mouseReleased
in interface java.awt.event.MouseListener