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

Quick Search    Search Deep

org.jext.gui
Class JextMenuSeparatorUI  view JextMenuSeparatorUI download JextMenuSeparatorUI.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.JextMenuSeparatorUI

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


Field Summary
 
Fields inherited from class javax.swing.plaf.metal.MetalSeparatorUI
 
Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI
highlight, shadow
 
Constructor Summary
JextMenuSeparatorUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns a shared instance of MetalSeparatorUI.
 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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JextMenuSeparatorUI

public JextMenuSeparatorUI()
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.