| java.lang.Object com.eviware.soapui.support.UISupport
UISupport | public class UISupport (Code) | | Facade for common UI-related tasks
author: Ole.Matzura |
Method Summary | |
public static void | addClassLoader(ClassLoader loader) Add a classloader to find resources. | public static T | addTitledBorder(T component, String title) | public static void | beep() | public static Component | buildDescription(String title, String string, ImageIcon icon) | public static JPanel | buildPanelWithToolbar(JComponent top, JComponent content) | public static JPanel | buildPanelWithToolbarAndStatusBar(JComponent top, JComponent content, JComponent bottom) | public static void | centerDialog(JDialog dialog) | public static boolean | confirm(String question, String title) | public static boolean | confirmExtendedInfo(String title, String description, String content, Dimension size) | public static Boolean | confirmOrCancel(String question, String title) | public static Boolean | confirmOrCancelExtendedInfo(String title, String description, String content, Dimension size) | public static ConfigurationDialog | createConfigurationDialog(String name, String helpUrl, String description, ImageIcon icon) | public static ConfigurationDialog | createConfigurationDialog(String name, String helpUrl) | public static ConfigurationDialog | createConfigurationDialog(String name) | public static JSplitPane | createHorizontalSplit() | public static JSplitPane | createHorizontalSplit(Component leftComponent, Component rightComponent) | public static ImageIcon | createImageIcon(String path) | public static JPanel | createProgressBarPanel(JProgressBar progressBar, int space, boolean indeterimate) | public static JPanel | createTabPanel(JTabbedPane tabs, boolean addBorder) | public static JXToolBar | createToolbar() | public static JButton | createToolbarButton(Action action) | public static JButton | createToolbarButton(Action action, boolean enabled) | public static JSplitPane | createVerticalSplit() | public static JSplitPane | createVerticalSplit(Component topComponent, Component bottomComponent) | public static XDialogs | getDialogs() | public static XFileDialogs | getFileDialogs() | public static KeyStroke | getKeyStroke(String keyStroke) | public static Frame | getMainFrame() | public static Dimension | getPreferredButtonSize() | public static ToolHost | getToolHost() | public static JButtonBar | initDialogActions(ActionList actions, JDialog dialog) | public static void | invokeAndWait(Runnable runnable) | public static void | invokeLater(Runnable runnable) | public static boolean | isWindows() | public static String | prompt(String question, String title, String value) | public static String | prompt(String question, String title) | public static T | prompt(String question, String title, T[] objects) | public static T | prompt(String question, String title, T[] objects, String value) | public static T | prompt(String question, String title, List<T> objects) | public static T | prompt(String question, String title, List<T> objects, String value) | public static void | resetCursor() | public static void | select(ModelItem modelItem) | public static DesktopPanel | selectAndShow(ModelItem modelItem) | public static void | setDialogs(XDialogs xDialogs) | public static void | setFileDialogs(XFileDialogs xFileDialogs) | public static void | setHourglassCursor() | public static void | setMainFrame(Component frame) Set the main frame of this application. | public static void | setPreferredHeight(Component component, int heigth) | public static void | setToolHost(ToolHost host) | public static void | setUIUtils(UIUtils utils) | public static DesktopPanel | showDesktopPanel(ModelItem modelItem) | public static DesktopPanel | showDesktopPanel(DesktopPanel desktopPanel) | public static void | showDialog(JDialog dialog) | public static void | showErrorMessage(String message) | public static void | showErrorMessage(Exception ex) | public static void | showExtendedInfo(String title, String description, String content, Dimension size) | public static void | showInfoMessage(String message) | public static void | showInfoMessage(String message, String title) | public static void | showPopup(JPopupMenu popup, JComponent invoker, Point p) | public static boolean | stopCellEditing(JTable table) | public static Component | wrapInEmptyPanel(JComponent component, Border border) |
TOOLBAR_BUTTON_DIMENSION | public static Dimension TOOLBAR_BUTTON_DIMENSION(Code) | | |
addClassLoader | public static void addClassLoader(ClassLoader loader)(Code) | | Add a classloader to find resources.
Parameters: loader - |
addTitledBorder | public static T addTitledBorder(T component, String title)(Code) | | |
beep | public static void beep()(Code) | | |
centerDialog | public static void centerDialog(JDialog dialog)(Code) | | |
createProgressBarPanel | public static JPanel createProgressBarPanel(JProgressBar progressBar, int space, boolean indeterimate)(Code) | | |
createToolbarButton | public static JButton createToolbarButton(Action action, boolean enabled)(Code) | | |
getKeyStroke | public static KeyStroke getKeyStroke(String keyStroke)(Code) | | Replaces "menu" in the keyStroke with ctrl or meta depending on
getMenuShortcutKeyMask
|
getPreferredButtonSize | public static Dimension getPreferredButtonSize()(Code) | | |
isWindows | public static boolean isWindows()(Code) | | |
resetCursor | public static void resetCursor()(Code) | | |
setHourglassCursor | public static void setHourglassCursor()(Code) | | |
setMainFrame | public static void setMainFrame(Component frame)(Code) | | Set the main frame of this application. This is only used when running
under Swing.
Parameters: frame - |
setPreferredHeight | public static void setPreferredHeight(Component component, int heigth)(Code) | | |
showErrorMessage | public static void showErrorMessage(String message)(Code) | | |
showInfoMessage | public static void showInfoMessage(String message)(Code) | | |
stopCellEditing | public static boolean stopCellEditing(JTable table)(Code) | | |
|
|