org.jminor.common.ui.control
Class Controls

java.lang.Object
  extended by org.jminor.common.ui.control.Controls

public final class Controls
extends Object

A factory class for Control objects.


Method Summary
static MethodControl methodControl(Object owner, String method, Icon icon)
           
static MethodControl methodControl(Object owner, String method, String name)
           
static MethodControl methodControl(Object owner, String method, String name, StateObserver state)
           
static MethodControl methodControl(Object owner, String method, String name, StateObserver state, String description)
           
static MethodControl methodControl(Object owner, String method, String name, StateObserver state, String description, int mnemonic)
           
static MethodControl methodControl(Object owner, String method, String name, StateObserver state, String description, int mnemonic, KeyStroke ks)
           
static MethodControl methodControl(Object owner, String method, String name, StateObserver state, String description, int mnemonic, KeyStroke ks, Icon icon)
           
static ToggleBeanValueLink toggleControl(Object owner, String propertyName, String caption, EventObserver changeEvent)
           
static ToggleBeanValueLink toggleControl(Object owner, String propertyName, String caption, EventObserver changeEvent, String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

toggleControl

public static ToggleBeanValueLink toggleControl(Object owner,
                                                String propertyName,
                                                String caption,
                                                EventObserver changeEvent)

toggleControl

public static ToggleBeanValueLink toggleControl(Object owner,
                                                String propertyName,
                                                String caption,
                                                EventObserver changeEvent,
                                                String description)

methodControl

public static MethodControl methodControl(Object owner,
                                          String method,
                                          Icon icon)

methodControl

public static MethodControl methodControl(Object owner,
                                          String method,
                                          String name)

methodControl

public static MethodControl methodControl(Object owner,
                                          String method,
                                          String name,
                                          StateObserver state)

methodControl

public static MethodControl methodControl(Object owner,
                                          String method,
                                          String name,
                                          StateObserver state,
                                          String description)

methodControl

public static MethodControl methodControl(Object owner,
                                          String method,
                                          String name,
                                          StateObserver state,
                                          String description,
                                          int mnemonic)

methodControl

public static MethodControl methodControl(Object owner,
                                          String method,
                                          String name,
                                          StateObserver state,
                                          String description,
                                          int mnemonic,
                                          KeyStroke ks)

methodControl

public static MethodControl methodControl(Object owner,
                                          String method,
                                          String name,
                                          StateObserver state,
                                          String description,
                                          int mnemonic,
                                          KeyStroke ks,
                                          Icon icon)