public class BottomTitleBorder
extends javax.swing.border.AbstractBorder
Modifier and Type | Field and Description |
---|---|
protected int |
bottom |
protected int |
left |
protected int |
right |
protected java.lang.String |
title |
protected int |
top |
Constructor and Description |
---|
BottomTitleBorder(java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c) |
java.awt.Insets |
getBorderInsets(java.awt.Component c,
java.awt.Insets i) |
java.lang.String |
getTitle()
Get the value of Title.
|
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height) |
void |
setTitle(java.lang.String v)
Set the value of Title.
|
protected java.lang.String title
protected int top
protected int left
protected int bottom
protected int right
public java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets
in interface javax.swing.border.Border
getBorderInsets
in class javax.swing.border.AbstractBorder
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets i)
getBorderInsets
in class javax.swing.border.AbstractBorder
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
paintBorder
in class javax.swing.border.AbstractBorder
public java.lang.String getTitle()
public void setTitle(java.lang.String v)
v
- Value to assign to Title.