Package adams.gui.goe
Class EditorHelper
- java.lang.Object
-
- adams.gui.goe.EditorHelper
-
public class EditorHelper extends Object
Helper class for GOE editors.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description EditorHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JComponent
findView(PropertyEditor editor)
Tries to determine a view for the editor.static Object
simpleEdit(Container parent, Object obj, String title)
Brings up the dialog for editing the Object.
-
-
-
Method Detail
-
findView
public static JComponent findView(PropertyEditor editor)
Tries to determine a view for the editor.- Parameters:
editor
- the editor to get the view for- Returns:
- the view, null if failed to determine one
-
-