|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.arooa.design.view.ViewHelper
public class ViewHelper
Utility methods for Swing Views.
| Constructor Summary | |
|---|---|
ViewHelper()
|
|
| Method Summary | |
|---|---|
static Component |
createDetailButton(Form def)
Create a standard detail button for a DesignDefinition. |
static Window |
getWindowForComponent(Component parentComponent)
Utility method to get the parent window for a component. |
static String |
padLabel(String title)
Pad the lable of a field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewHelper()
| Method Detail |
|---|
public static Component createDetailButton(Form def)
def - The DesignDefinition.
public static String padLabel(String title)
title - The text.
public static Window getWindowForComponent(Component parentComponent)
throws HeadlessException
parentComponent - The component who's window were finding.
HeadlessException - If the component has no window.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||