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

Quick Search    Search Deep

org.fudaa.ebli.controle.border
Class LineChoiceBorder  view LineChoiceBorder download LineChoiceBorder.java

java.lang.Object
  extended byjavax.swing.border.AbstractBorder
      extended byorg.fudaa.ebli.controle.border.LineChoiceBorder
All Implemented Interfaces:
javax.swing.border.Border, java.io.Serializable

public class LineChoiceBorder
extends javax.swing.border.AbstractBorder

Version:
$Revision: 1.2 $ $Date: 2001/09/11 15:29:21 $ by $Author: deniger $

Field Summary
private  boolean bottom_
           
private  boolean high_
           
private  boolean left_
           
private  boolean middleHor_
           
private  boolean middleVert_
           
private  boolean right_
           
 
Fields inherited from class javax.swing.border.AbstractBorder
 
Constructor Summary
LineChoiceBorder(boolean _high, boolean _bottom, boolean _right, boolean _left, boolean _middleVert, boolean _middleHor)
           
 
Method Summary
 java.awt.Insets getBorderInsets(java.awt.Component _c)
          Returns the insets required for drawing this border around the specified component.
 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 _w, int _h)
          Performs nothing, because the default implementation provided by this class is an invisible, zero-width border.
 
Methods inherited from class javax.swing.border.AbstractBorder
getBorderInsets, getInteriorRectangle, getInteriorRectangle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

high_

private boolean high_

bottom_

private boolean bottom_

right_

private boolean right_

left_

private boolean left_

middleVert_

private boolean middleVert_

middleHor_

private boolean middleHor_
Constructor Detail

LineChoiceBorder

public LineChoiceBorder(boolean _high,
                        boolean _bottom,
                        boolean _right,
                        boolean _left,
                        boolean _middleVert,
                        boolean _middleHor)
Method Detail

paintBorder

public void paintBorder(java.awt.Component _c,
                        java.awt.Graphics _g,
                        int _x,
                        int _y,
                        int _w,
                        int _h)
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 to do so.


getBorderInsets

public java.awt.Insets getBorderInsets(java.awt.Component _c)
Description copied from class: javax.swing.border.AbstractBorder
Returns the insets required for drawing this border around the specified component.


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 here always returns false.