|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.vity.freerapid.swing.Swinger
public class Swinger
Pomocna trida pro caste volani nekterych metod. Nastavuje vychozi Look&Feel.
Field Summary | |
---|---|
static String |
MESSAGE_BTN_CANCEL_CODE
|
static int |
RESULT_CANCEL
|
static int |
RESULT_NO
|
static int |
RESULT_OK
|
static int |
RESULT_YES
|
Method Summary | |
---|---|
static void |
bringToFront(Frame frame,
boolean activate)
|
static Action |
getAction(Object actionName)
|
static ActionMap |
getActionMap(Class aClass,
Object actionsObject)
|
static ActionMap |
getActionMap(Object actionsObject)
|
static int |
getChoiceOKCancel(String messageCode,
Object... args)
|
static int |
getChoiceYesNo(String message)
|
static int |
getChoiceYesNoCancel(String message)
|
static int |
getChoiceYesNoCancel(String messageCode,
Object... args)
|
static ImageIcon |
getIconImage(org.jdesktop.application.ResourceMap map,
String imagePropertyCode)
Vrati obrazek podle key property v resourcu Nenajde-li se obrazek pod danym kodem, vypise WARNING pokud neni obrazek nalezen |
static ImageIcon |
getIconImage(String imagePropertyCode)
Vrati obrazek podle key property v resourcu Nenajde-li se obrazek pod danym kodem, vypise WARNING pokud neni obrazek nalezen |
static String |
getMessageFromException(org.jdesktop.application.ResourceMap map,
Throwable cause)
|
static org.jdesktop.application.ResourceMap |
getResourceMap()
|
static org.jdesktop.application.ResourceMap |
getResourceMap(Class className)
|
static org.jdesktop.application.ResourceMap |
getResourceMap(Class className,
Class stopClass)
|
static int[] |
getSelectedRows(JTable table)
|
static JComponent |
getTitleComponent(String title)
|
static JComponent |
getTitleComponent2(String titleCode)
|
static void |
initActions(Object actionsObject,
org.jdesktop.application.ApplicationContext context)
Inicializuje akce v dane tride |
static void |
inputFocus(JComboBox combo)
|
static void |
inputFocus(JComponent field)
|
static void |
minimize(JFrame frame)
|
static void |
showErrorDialog(Class clazz,
String messageResource,
Throwable e)
|
static void |
showErrorDialog(Class clazz,
String messageResource,
Throwable e,
boolean showErrorReporter)
|
static void |
showErrorDialog(org.jdesktop.application.ResourceMap map,
String messageResource,
Throwable e)
|
static void |
showErrorDialog(String messageResource,
Throwable e)
|
static void |
showErrorDialog(String messageResource,
Throwable e,
boolean showErrorReporter)
|
static void |
showErrorMessage(org.jdesktop.application.ResourceMap map,
String message,
Object... args)
|
static void |
showErrorMessage(org.jdesktop.application.ResourceMap map,
Throwable cause)
|
static void |
showInformationDialog(String message)
|
static int |
showInputDialog(String title,
Object inputObject,
boolean cancelButton)
|
static void |
showMessage(org.jdesktop.application.ResourceMap map,
String message,
Object... args)
|
static int |
showOptionDialog(org.jdesktop.application.ResourceMap map,
int messageType,
String titleCode,
String messageCode,
String[] buttons,
Object... args)
|
static TableColumn |
updateColumn(JTable table,
String name,
int columnId,
int width)
|
static TableColumn |
updateColumn(JTable table,
String name,
int columnId,
int minWidth,
int width,
TableCellRenderer renderer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MESSAGE_BTN_CANCEL_CODE
public static final int RESULT_NO
public static final int RESULT_YES
public static final int RESULT_CANCEL
public static final int RESULT_OK
Method Detail |
---|
public static void initActions(Object actionsObject, org.jdesktop.application.ApplicationContext context)
actionsObject
- trida s akcemicontext
- context aplikacepublic static void showInformationDialog(String message)
public static int getChoiceYesNoCancel(String message)
public static int getChoiceYesNoCancel(String messageCode, Object... args)
public static int getChoiceOKCancel(String messageCode, Object... args)
public static ImageIcon getIconImage(String imagePropertyCode)
imagePropertyCode
- kod obrazku
public static ImageIcon getIconImage(org.jdesktop.application.ResourceMap map, String imagePropertyCode)
map
- resourcemapaimagePropertyCode
- kod obrazku
public static org.jdesktop.application.ResourceMap getResourceMap()
public static org.jdesktop.application.ResourceMap getResourceMap(Class className)
public static org.jdesktop.application.ResourceMap getResourceMap(Class className, Class stopClass)
public static Action getAction(Object actionName)
public static ActionMap getActionMap(Class aClass, Object actionsObject)
public static ActionMap getActionMap(Object actionsObject)
public static void showErrorMessage(org.jdesktop.application.ResourceMap map, String message, Object... args)
public static void showErrorMessage(org.jdesktop.application.ResourceMap map, Throwable cause)
public static int showOptionDialog(org.jdesktop.application.ResourceMap map, int messageType, String titleCode, String messageCode, String[] buttons, Object... args)
public static int showInputDialog(String title, Object inputObject, boolean cancelButton)
public static void bringToFront(Frame frame, boolean activate)
public static void showMessage(org.jdesktop.application.ResourceMap map, String message, Object... args)
public static void inputFocus(JComboBox combo)
public static void inputFocus(JComponent field)
public static TableColumn updateColumn(JTable table, String name, int columnId, int minWidth, int width, TableCellRenderer renderer)
public static TableColumn updateColumn(JTable table, String name, int columnId, int width)
public static void showErrorDialog(Class clazz, String messageResource, Throwable e, boolean showErrorReporter)
public static void showErrorDialog(Class clazz, String messageResource, Throwable e)
public static void showErrorDialog(String messageResource, Throwable e, boolean showErrorReporter)
public static void showErrorDialog(String messageResource, Throwable e)
public static void showErrorDialog(org.jdesktop.application.ResourceMap map, String messageResource, Throwable e)
public static JComponent getTitleComponent(String title)
public static JComponent getTitleComponent2(String titleCode)
public static int getChoiceYesNo(String message)
public static void minimize(JFrame frame)
public static int[] getSelectedRows(JTable table)
public static String getMessageFromException(org.jdesktop.application.ResourceMap map, Throwable cause)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |