Back to index

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

A simple separator between icons. More...

Inheritance diagram for rene.gui.Separator:
Inheritance graph
[legend]
Collaboration diagram for rene.gui.Separator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Separator (IconBar bar)
int width ()
void setPosition (int x, int y)
Point getPosition ()
void setEnabled (boolean flag)
String getName ()
void paint (Graphics g)

Package Attributes

final int Size = 6

Detailed Description

A simple separator between icons.

Definition at line 30 of file IconBar.java.


Constructor & Destructor Documentation

Definition at line 33 of file IconBar.java.

       {      if (bar.Vertical)
                     setSize(BasicIcon.Size,Size);
              else
                     setSize(Size,BasicIcon.Size);      
       }

Member Function Documentation

String rene.gui.Separator.getName ( ) [inline]

Implements rene.gui.IconBarElement.

Definition at line 47 of file IconBar.java.

{ return ""; }

Implements rene.gui.IconBarElement.

Definition at line 45 of file IconBar.java.

{ return new Point(0,0); }
void rene.gui.Separator.paint ( Graphics  g) [inline]

Definition at line 48 of file IconBar.java.

       {      g.setColor(getBackground());
              if (Global.getParameter("iconbar.showseparators",false))
                     g.fill3DRect(1,1,getSize().width-1,getSize().height-1,false);
              else
                     g.fillRect(1,1,getSize().width-1,getSize().height-1);
       }

Here is the call graph for this function:

void rene.gui.Separator.setEnabled ( boolean  flag) [inline]

Implements rene.gui.IconBarElement.

Definition at line 46 of file IconBar.java.

{}
void rene.gui.Separator.setPosition ( int  x,
int  y 
) [inline]

Implements rene.gui.IconBarElement.

Definition at line 42 of file IconBar.java.

       {      setLocation(x,y);
       }
int rene.gui.Separator.width ( ) [inline]

Implements rene.gui.IconBarElement.

Definition at line 39 of file IconBar.java.

       {      return Size;
       }

Here is the caller graph for this function:


Member Data Documentation

final int rene.gui.Separator.Size = 6 [package]

Definition at line 32 of file IconBar.java.


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