Back to index

wims  3.65+svn20090927
Public Member Functions | Package Attributes
rene.zirkel.tools.ReorderDialog Class Reference
Collaboration diagram for rene.zirkel.tools.ReorderDialog:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ReorderDialog (ZirkelCanvas zc, ConstructionObject o)
void doAction (String o)
String getResult ()
boolean isAborted ()

Package Attributes

String Name = ""
boolean Abort = true
TextField Input

Detailed Description

Definition at line 14 of file ReorderTool.java.


Constructor & Destructor Documentation

Definition at line 19 of file ReorderTool.java.

       {      super(zc.getFrame(),Zirkel.name("reorder.title"),true);
              setLayout(new BorderLayout());
              Panel north=new MyPanel();
              north.setLayout(new GridLayout(1,0));
              north.add(new MyLabel(o.getName()+" : "+Zirkel.name("reorder.message")));
              ConstructionObject ol=zc.getConstruction().lastDep(o);
              String s="";
              if (ol!=null) s=ol.getName();
              north.add(Input=new TextFieldAction(this,"Reorder",s));
              add("North",new Panel3D(north));
              Panel south=new MyPanel();
              south.add(new ButtonAction(this,Zirkel.name("ok"),"OK"));
              south.add(new ButtonAction(this,Zirkel.name("abort"),"Close"));
              add("South",south);
              pack();
              center(zc.getFrame());
              setVisible(true);
       }

Here is the call graph for this function:


Member Function Documentation

void rene.zirkel.tools.ReorderDialog.doAction ( String  o) [inline]

Definition at line 38 of file ReorderTool.java.

       {      if (o.equals("OK"))
              {      Abort=false;
                     Name=Input.getText();
                     doclose();
              }
              else super.doAction(o);
       }

Definition at line 46 of file ReorderTool.java.

       {      return Name;
       }

Here is the caller graph for this function:

Definition at line 49 of file ReorderTool.java.

       {      return Abort;
       }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 16 of file ReorderTool.java.

Definition at line 17 of file ReorderTool.java.

String rene.zirkel.tools.ReorderDialog.Name = "" [package]

Definition at line 15 of file ReorderTool.java.


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