au.edu.jcu.hermes.ui.swing.core.plaf
Class Blair_ToggleButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by au.edu.jcu.hermes.ui.swing.core.plaf.Blair_ToggleButtonUI

public class Blair_ToggleButtonUI
extends javax.swing.plaf.ButtonUI

Blair_ToggleButtonUI

Date: 15/12/2004 Time: 00:17:59


Field Summary
static int ORRIENTATION_HORIZANTAL
           
static int ORRIENTATION_VERT_LEFT
           
static int ORRIENTATION_VERT_RIGHT
           
 
Constructor Summary
Blair_ToggleButtonUI()
           
 
Method Summary
 void DrawBackGround(java.awt.Graphics g, javax.swing.JComponent c)
           
 int getAccessibleChildrenCount(javax.swing.JComponent c)
           
 java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
           
 java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
           
 int getOrientation(javax.swing.JComponent c)
           
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
           
protected  void installListeners(javax.swing.AbstractButton b)
           
 void installUI(javax.swing.JComponent c)
           
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
           
 void setOrientation(int orientation, javax.swing.JComponent c)
           
 void uninstallUI(javax.swing.JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORRIENTATION_HORIZANTAL

public static final int ORRIENTATION_HORIZANTAL
See Also:
Constant Field Values

ORRIENTATION_VERT_LEFT

public static final int ORRIENTATION_VERT_LEFT
See Also:
Constant Field Values

ORRIENTATION_VERT_RIGHT

public static final int ORRIENTATION_VERT_RIGHT
See Also:
Constant Field Values
Constructor Detail

Blair_ToggleButtonUI

public Blair_ToggleButtonUI()
Method Detail

getAccessibleChildrenCount

public int getAccessibleChildrenCount(javax.swing.JComponent c)
Overrides:
getAccessibleChildrenCount in class javax.swing.plaf.ComponentUI

installUI

public void installUI(javax.swing.JComponent c)
Overrides:
installUI in class javax.swing.plaf.ComponentUI

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Overrides:
uninstallUI in class javax.swing.plaf.ComponentUI

installListeners

protected void installListeners(javax.swing.AbstractButton b)

getOrientation

public int getOrientation(javax.swing.JComponent c)

setOrientation

public void setOrientation(int orientation,
                           javax.swing.JComponent c)

getMaximumSize

public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
Overrides:
getMaximumSize in class javax.swing.plaf.ComponentUI

getMinimumSize

public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
Overrides:
getMinimumSize in class javax.swing.plaf.ComponentUI

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Overrides:
getPreferredSize in class javax.swing.plaf.ComponentUI

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Overrides:
paint in class javax.swing.plaf.ComponentUI

DrawBackGround

public void DrawBackGround(java.awt.Graphics g,
                           javax.swing.JComponent c)