Class ApplicationUIUtil
java.lang.Object
org.nuiton.jaxx.application.swing.util.ApplicationUIUtil
public class ApplicationUIUtil extends Object
Useful ui methods.
Created on 11/23/13.
- Since:
- 2.8
- Author:
- Tony Chemit - chemit@codelutin.com
-
Constructor Summary
Constructors Modifier Constructor Description protectedApplicationUIUtil() -
Method Summary
Modifier and Type Method Description static voiddoSelectCell(JTable table, int rowIndex, int columnIndex)Deprecated.since 2.18, use insteadJTables.doSelectCell(JTable, int, int)static ApplicationUIContextgetApplicationContext(JAXXObject ui)static DesktopgetDesktopForBrowse()static DesktopgetDesktopForMail()static DesktopgetDesktopForOpen()static voidmail(String subject, String body)static org.jdesktop.swingx.decorator.HighlighternewBackgroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate, Color color)static org.jdesktop.swingx.decorator.HighlighternewForegroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate, Color color)static voidopenLink(URI uri)static voidopenLink(URL url)static voidselectFirstCellOnFirstRowAndStopEditing(org.jdesktop.swingx.JXTable table)Deprecated.since 2.18, use insteadJTables.selectFirstCellOnFirstRowAndStopEditing(JTable)static voidselectFirstCellOnLastRow(org.jdesktop.swingx.JXTable table)Deprecated.since 2.18, use insteadJTables.selectFirstCellOnLastRow(JTable)static voidselectFirstCellOnRow(org.jdesktop.swingx.JXTable table, int row, boolean stopEdit)Deprecated.since 2.18, use insteadJTables.selectFirstCellOnRow(JTable, int, boolean)static voidsetApplicationContext(JAXXObject ui, ApplicationUIContext context)
-
Constructor Details
-
ApplicationUIUtil
protected ApplicationUIUtil()
-
-
Method Details
-
setApplicationContext
-
getApplicationContext
-
newBackgroundColorHighlighter
public static org.jdesktop.swingx.decorator.Highlighter newBackgroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate, Color color) -
newForegroundColorHighlighter
public static org.jdesktop.swingx.decorator.Highlighter newForegroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate, Color color) -
openLink
-
getDesktopForBrowse
-
getDesktopForOpen
-
openLink
-
getDesktopForMail
-
mail
-
selectFirstCellOnFirstRowAndStopEditing
@Deprecated public static void selectFirstCellOnFirstRowAndStopEditing(org.jdesktop.swingx.JXTable table)Deprecated.since 2.18, use insteadJTables.selectFirstCellOnFirstRowAndStopEditing(JTable) -
selectFirstCellOnLastRow
Deprecated.since 2.18, use insteadJTables.selectFirstCellOnLastRow(JTable) -
selectFirstCellOnRow
@Deprecated public static void selectFirstCellOnRow(org.jdesktop.swingx.JXTable table, int row, boolean stopEdit)Deprecated.since 2.18, use insteadJTables.selectFirstCellOnRow(JTable, int, boolean) -
doSelectCell
Deprecated.since 2.18, use insteadJTables.doSelectCell(JTable, int, int)
-