Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.gui.OverflowButton Class Reference

Button to get all icons, when there is not too much space. More...

Inheritance diagram for rene.gui.OverflowButton:
Inheritance graph
Collaboration diagram for rene.gui.OverflowButton:
Collaboration graph

List of all members.

Public Member Functions

 OverflowButton (IconBar ib, boolean left)
void paint (Graphics g)

Package Attributes

IconBar IB
boolean Left = true

Detailed Description

Button to get all icons, when there is not too much space.

Definition at line 539 of file

Constructor & Destructor Documentation

Definition at line 543 of file

       {      IB=ib; Left=left;
              addMouseListener(new MouseAdapter()
                            {      public void mouseClicked (MouseEvent e)
                                   {      IB.setShifted(!Left);       

Here is the call graph for this function:

Member Function Documentation

void rene.gui.OverflowButton.paint ( Graphics  g) [inline]

Definition at line 553 of file

       {      int size=BasicIcon.Size;
              int x[]=new int[3],y[]=new int[3];
              if (Left)
              {      x[0]=2; x[1]=x[2]=8;
                     y[0]=size/2; y[1]=y[0]-6; y[2]=y[0]+6;
              {      x[0]=8; x[1]=x[2]=2;
                     y[0]=size/2; y[1]=y[0]-6; y[2]=y[0]+6;

Member Data Documentation

Definition at line 540 of file

Definition at line 541 of file

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