Back to index

moin  1.9.0~rc2
Public Member Functions | Private Attributes
CH.ifa.draw.util.Filler Class Reference

A component that can be used to reserve white space in a layout. More...

Collaboration diagram for CH.ifa.draw.util.Filler:
Collaboration graph

List of all members.

Public Member Functions

 Filler (int width, int height)
 Filler (int width, int height, Color background)
Dimension getMinimumSize ()
Dimension getPreferredSize ()
Color getBackground ()

Private Attributes

int fWidth
int fHeight
Color fBackground

Detailed Description

A component that can be used to reserve white space in a layout.

Definition at line 15 of file

Constructor & Destructor Documentation

CH.ifa.draw.util.Filler.Filler ( int  width,
int  height 
) [inline]

Definition at line 23 of file

        this(width, height, null);
CH.ifa.draw.util.Filler.Filler ( int  width,
int  height,
Color  background 
) [inline]

Definition at line 27 of file

        fWidth = width;
        fHeight = height;
        fBackground = background;

Member Function Documentation

Definition at line 41 of file

        if (fBackground != null)
            return fBackground;
        return super.getBackground();

Definition at line 33 of file

        return new Dimension(fWidth, fHeight);

Here is the caller graph for this function:

Definition at line 37 of file

        return getMinimumSize();

Here is the call graph for this function:

Member Data Documentation

Definition at line 20 of file

Definition at line 19 of file

Definition at line 18 of file

The documentation for this class was generated from the following file: