Back to index

wims  3.65+svn20090927
Public Member Functions | Public Attributes | Package Attributes
rene.dialogs.ColorScrollbar Class Reference
Inheritance diagram for rene.dialogs.ColorScrollbar:
Inheritance graph
[legend]
Collaboration diagram for rene.dialogs.ColorScrollbar:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ColorScrollbar (ColorEditor ce, String s, int value)
void focusLost (FocusEvent e)
void focusGained (FocusEvent e)
void doAction (String o)
void itemAction (String o, boolean flag)
void adjustmentValueChanged (AdjustmentEvent e)
int value ()

Public Attributes

int Value

Package Attributes

ColorEditor CE
Scrollbar SB
IntField L

Detailed Description

Definition at line 23 of file ColorEditor.java.


Constructor & Destructor Documentation

rene.dialogs.ColorScrollbar.ColorScrollbar ( ColorEditor  ce,
String  s,
int  value 
) [inline]

Definition at line 29 of file ColorEditor.java.

       {      CE=ce;
              setLayout(new GridLayout(1,0));
              Value=value;
              Panel p=new MyPanel();
              p.setLayout(new GridLayout(1,0));
              p.add(new MyLabel(s));
              p.add(L=new IntField(this,"L",Value,4));
              add(p);
              add(SB=new Scrollbar(Scrollbar.HORIZONTAL,value,40,0,295));
              SB.addAdjustmentListener(this);
              L.addFocusListener(this);
       }

Here is the call graph for this function:


Member Function Documentation

void rene.dialogs.ColorScrollbar.adjustmentValueChanged ( AdjustmentEvent  e) [inline]

Definition at line 56 of file ColorEditor.java.

       {      Value=SB.getValue();
              L.set(Value);
              SB.setValue(Value);
              CE.setcolor();
       }

Here is the call graph for this function:

void rene.dialogs.ColorScrollbar.doAction ( String  o) [inline]

Implements rene.gui.DoActionListener.

Definition at line 48 of file ColorEditor.java.

       {      if ("L".equals(o))
              {      Value=L.value(0,255);
                     SB.setValue(Value);
                     CE.setcolor();
              }
       }

Here is the call graph for this function:

Here is the caller graph for this function:

void rene.dialogs.ColorScrollbar.focusGained ( FocusEvent  e) [inline]

Definition at line 45 of file ColorEditor.java.

       {      doAction("L");
       }

Here is the call graph for this function:

void rene.dialogs.ColorScrollbar.focusLost ( FocusEvent  e) [inline]

Definition at line 42 of file ColorEditor.java.

       {      doAction("L");
       }

Here is the call graph for this function:

void rene.dialogs.ColorScrollbar.itemAction ( String  o,
boolean  flag 
) [inline]

Implements rene.gui.DoActionListener.

Definition at line 55 of file ColorEditor.java.

{}

Definition at line 62 of file ColorEditor.java.

{ return L.value(0,255); }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 26 of file ColorEditor.java.

Definition at line 28 of file ColorEditor.java.

Scrollbar rene.dialogs.ColorScrollbar.SB [package]

Definition at line 27 of file ColorEditor.java.

Definition at line 25 of file ColorEditor.java.


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