ch.hsr.ifs.worldfiletool.ui
Class Components

java.lang.Object
  extended by ch.hsr.ifs.worldfiletool.ui.Components

public class Components
extends java.lang.Object


Constructor Summary
Components()
           
 
Method Summary
(package private)  void check_image(java.io.File file, javax.swing.JLabel icon)
          check if image file exists and display either a tick or cross.
(package private)  javax.swing.JButton create_button(java.lang.String text, java.awt.Rectangle rect, int event)
          Create JButton.
(package private)  javax.swing.JTextField create_textfield(java.lang.String lbl, java.awt.Rectangle rect, javax.swing.JPanel panel)
          create textfields.
(package private)  void load(java.util.Properties properties)
          load properties.
(package private)  javax.swing.JMenuBar menu_bar(WorldFileTool_GUI gui)
          MenuBar.
(package private)  javax.swing.JPopupMenu popupMenu(javax.swing.JTextField textField)
          Popupmenu.
(package private)  void save(java.util.Properties properties)
          save properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Components

public Components()
Method Detail

create_button

javax.swing.JButton create_button(java.lang.String text,
                                  java.awt.Rectangle rect,
                                  int event)
Create JButton.

Parameters:
text -
rect - the rectangle
event -
Returns:
the jbutton

create_textfield

javax.swing.JTextField create_textfield(java.lang.String lbl,
                                        java.awt.Rectangle rect,
                                        javax.swing.JPanel panel)
create textfields.

Parameters:
lbl - the label
rect - the rectangle
Returns:
JTextField

check_image

void check_image(java.io.File file,
                 javax.swing.JLabel icon)
check if image file exists and display either a tick or cross.

Parameters:
file -

save

void save(java.util.Properties properties)
save properties.


load

void load(java.util.Properties properties)
load properties.


menu_bar

javax.swing.JMenuBar menu_bar(WorldFileTool_GUI gui)
MenuBar.

Returns:
the JMenuBar

popupMenu

javax.swing.JPopupMenu popupMenu(javax.swing.JTextField textField)
Popupmenu.

Parameters:
textField -
Returns:
popupMenu