edu.sc.seis.fissuresUtil.display
Class BottomTitleBorder

java.lang.Object
  extended by javax.swing.border.AbstractBorder
      extended by edu.sc.seis.fissuresUtil.display.BottomTitleBorder
All Implemented Interfaces:
java.io.Serializable, javax.swing.border.Border

public class BottomTitleBorder
extends javax.swing.border.AbstractBorder

BottomTitleBorder.java Created: Fri Oct 22 11:21:22 1999

See Also:
Serialized Form

Field Summary
protected  int bottom
           
protected  int left
           
protected  int right
           
protected  java.lang.String title
           
protected  int top
           
 
Constructor Summary
BottomTitleBorder(java.lang.String title)
           
 
Method Summary
 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.
 
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected java.lang.String title

top

protected int top

left

protected int left

bottom

protected int bottom

right

protected int right
Constructor Detail

BottomTitleBorder

public BottomTitleBorder(java.lang.String title)
Method Detail

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Specified by:
getBorderInsets in interface javax.swing.border.Border
Overrides:
getBorderInsets in class javax.swing.border.AbstractBorder

getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c,
                                       java.awt.Insets i)
Overrides:
getBorderInsets in class javax.swing.border.AbstractBorder

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Specified by:
paintBorder in interface javax.swing.border.Border
Overrides:
paintBorder in class javax.swing.border.AbstractBorder

getTitle

public java.lang.String getTitle()
Get the value of Title.

Returns:
Value of Title.

setTitle

public void setTitle(java.lang.String v)
Set the value of Title.

Parameters:
v - Value to assign to Title.