You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.widgets.DefaultHeaderRenderer

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----com.sun.java.swing.JComponent
                           |
                           +----grendel.widgets.DefaultHeaderRenderer

The default renderer for column headers. Handles text headers and not much else. Aspires to handle icons.


public class  DefaultHeaderRenderer
     extends com.sun.java.swing.JComponent
     implements grendel.widgets.HeaderRenderer
{
          // Fields 5
     Column fColumn;
     Border fEmptyBorder;
     Border fLoweredBorder;
     Border fRaisedBorder;
     int fState;

          // Constructors 1
     public DefaultHeaderRenderer();

          // Methods 6
     public Component getComponent();
     public Dimension getMaximumSize();
     public Dimension getMinimumSize();
     public Dimension getPreferredSize();
     public void paint(Graphics);
     public void setValue(Column, int);
}



Fields


fColumn

   Column fColumn


fState

   int fState


fRaisedBorder

   Border fRaisedBorder


fLoweredBorder

   Border fLoweredBorder


fEmptyBorder

   Border fEmptyBorder



Constructors


DefaultHeaderRenderer

   public DefaultHeaderRenderer() 



Methods


setValue

   public void setValue(Column aColumn, 
                        int aState) 
Implements:
setValue in interface HeaderRenderer


getComponent

   public Component getComponent() 
Implements:
getComponent in interface HeaderRenderer


getPreferredSize

   public Dimension getPreferredSize() 
Overrides:
getPreferredSize in class JComponent


getMinimumSize

   public Dimension getMinimumSize() 
Overrides:
getMinimumSize in class JComponent


getMaximumSize

   public Dimension getMaximumSize() 
Overrides:
getMaximumSize in class JComponent


paint

   public void paint(Graphics g) 
Overrides:
paint in class JComponent


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4