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
All Methods Static Methods Concrete Methods Deprecated Methods 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)
-
-
-
Method Detail
-
setApplicationContext
public static void setApplicationContext(JAXXObject ui, ApplicationUIContext context)
-
getApplicationContext
public static ApplicationUIContext getApplicationContext(JAXXObject ui)
-
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
public static void openLink(URL url)
-
getDesktopForBrowse
public static Desktop getDesktopForBrowse()
-
getDesktopForOpen
public static Desktop getDesktopForOpen()
-
openLink
public static void openLink(URI uri)
-
getDesktopForMail
public static Desktop getDesktopForMail()
-
selectFirstCellOnFirstRowAndStopEditing
@Deprecated public static void selectFirstCellOnFirstRowAndStopEditing(org.jdesktop.swingx.JXTable table)
Deprecated.since 2.18, use insteadJTables.selectFirstCellOnFirstRowAndStopEditing(JTable)
-
selectFirstCellOnLastRow
@Deprecated public static void selectFirstCellOnLastRow(org.jdesktop.swingx.JXTable table)
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 public static void doSelectCell(JTable table, int rowIndex, int columnIndex)
Deprecated.since 2.18, use insteadJTables.doSelectCell(JTable, int, int)
-
-