Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.imagero.gui.flowin.plaf
Class TabContainerUI.TabBorder  view TabContainerUI.TabBorder download TabContainerUI.TabBorder.java

java.lang.Object
  extended byjavax.swing.border.AbstractBorder
      extended bycom.imagero.gui.flowin.plaf.TabContainerUI.TabBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable
Enclosing class:
TabContainerUI

static class TabContainerUI.TabBorder
extends javax.swing.border.AbstractBorder


Field Summary
(package private)  java.awt.Color color
           
(package private)  int thickness
           
 
Fields inherited from class javax.swing.border.AbstractBorder
 
Constructor Summary
TabContainerUI.TabBorder(java.awt.Color color)
           
TabContainerUI.TabBorder(java.awt.Color color, int thickness)
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component c)
          Measures the width of this border.
 java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
          Determines the insets of this border.
 boolean isBorderOpaque()
          Determines whether or not this border is opaque.
 void paintBorder(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)
          Performs nothing, because the default implementation provided by this class is an invisible, zero-width border.
 
Methods inherited from class javax.swing.border.AbstractBorder
getInteriorRectangle, getInteriorRectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

java.awt.Color color

thickness

int thickness
Constructor Detail

TabContainerUI.TabBorder

public TabContainerUI.TabBorder(java.awt.Color color)

TabContainerUI.TabBorder

public TabContainerUI.TabBorder(java.awt.Color color,
                                int thickness)
Method Detail

paintBorder

public void paintBorder(java.awt.Component c,
                        java.awt.Graphics g,
                        int x,
                        int y,
                        int width,
                        int height)
Description copied from class: javax.swing.border.AbstractBorder
Performs nothing, because the default implementation provided by this class is an invisible, zero-width border. Subclasses will likely want to override this method, but they are not required for doing so.


getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c)
Description copied from class: javax.swing.border.AbstractBorder
Measures the width of this border.


getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component c,
                                       java.awt.Insets insets)
Description copied from class: javax.swing.border.AbstractBorder
Determines the insets of this border. The implementation provided by AbstractButton sets the left, right, top and bottom fields of the passed insets parameter to zero.


isBorderOpaque

public boolean isBorderOpaque()
Description copied from class: javax.swing.border.AbstractBorder
Determines whether or not this border is opaque. An opaque border fills every pixel in its area when painting. Partially translucent borders must return false, or ugly artifacts can appear on screen. The default implementation provided by AbstractBorder always returns false.