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

Quick Search    Search Deep

org.jext.gui
Class JextLabeledMenuSeparatorUI  view JextLabeledMenuSeparatorUI download JextLabeledMenuSeparatorUI.java

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.SeparatorUI
          extended byjavax.swing.plaf.basic.BasicSeparatorUI
              extended byjavax.swing.plaf.metal.MetalSeparatorUI
                  extended byorg.jext.gui.JextLabeledMenuSeparatorUI

public class JextLabeledMenuSeparatorUI
extends javax.swing.plaf.metal.MetalSeparatorUI


Field Summary
private  java.awt.Font labelFont
           
private  java.lang.String stext
           
 
Fields inherited from class javax.swing.plaf.metal.MetalSeparatorUI
 
Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI
highlight, shadow
 
Constructor Summary
JextLabeledMenuSeparatorUI(javax.swing.JComponent c)
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns a shared instance of MetalSeparatorUI.
protected  void finalize()
          Patch -> Memory management improvements : it may help the garbage collector.
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
          This method returns the preferred size of the JComponent.
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          The separator is made of two lines.
 
Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI
getMaximumSize, getMinimumSize, installDefaults, installListeners, installUI, uninstallDefaults, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stext

private java.lang.String stext

labelFont

private java.awt.Font labelFont
Constructor Detail

JextLabeledMenuSeparatorUI

public JextLabeledMenuSeparatorUI(javax.swing.JComponent c)
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Description copied from class: javax.swing.plaf.metal.MetalSeparatorUI
Returns a shared instance of MetalSeparatorUI.


paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Description copied from class: javax.swing.plaf.metal.MetalSeparatorUI
The separator is made of two lines. The top line will be the Metal theme color separatorForeground (or left line if it's vertical). The bottom or right line will be the Metal theme color separatorBackground. The two lines will be centered inside the bounds box. If the separator is horizontal, then it will be vertically centered, or if it's vertical, it will be horizontally centered.


getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Description copied from class: javax.swing.plaf.basic.BasicSeparatorUI
This method returns the preferred size of the JComponent.


finalize

protected void finalize()
                 throws java.lang.Throwable
Patch -> Memory management improvements : it may help the garbage collector. -> Author : Julien Ponge (julien@izforge.com) -> Date : 23, May 2001