Class ApplicationUIUtil
java.lang.Object
org.nuiton.jaxx.application.swing.util.ApplicationUIUtil
public class ApplicationUIUtil
extends java.lang.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(javax.swing.JTable table, int rowIndex, int columnIndex)Deprecated.static ApplicationUIContextgetApplicationContext(JAXXObject ui)static java.awt.DesktopgetDesktopForBrowse()static java.awt.DesktopgetDesktopForMail()static java.awt.DesktopgetDesktopForOpen()static voidmail(java.lang.String subject, java.lang.String body)static org.jdesktop.swingx.decorator.HighlighternewBackgroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate, java.awt.Color color)static org.jdesktop.swingx.decorator.HighlighternewForegroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate, java.awt.Color color)static voidopenLink(java.net.URI uri)static voidopenLink(java.net.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)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ApplicationUIUtil
protected ApplicationUIUtil()
-
-
Method Details
-
setApplicationContext
-
getApplicationContext
-
newBackgroundColorHighlighter
public static org.jdesktop.swingx.decorator.Highlighter newBackgroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate, java.awt.Color color) -
newForegroundColorHighlighter
public static org.jdesktop.swingx.decorator.Highlighter newForegroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate, java.awt.Color color) -
openLink
public static void openLink(java.net.URL url) -
getDesktopForBrowse
public static java.awt.Desktop getDesktopForBrowse() -
getDesktopForOpen
public static java.awt.Desktop getDesktopForOpen() -
openLink
public static void openLink(java.net.URI uri) -
getDesktopForMail
public static java.awt.Desktop getDesktopForMail() -
mail
public static void mail(java.lang.String subject, java.lang.String body) -
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(javax.swing.JTable table, int rowIndex, int columnIndex)Deprecated.since 2.18, use insteadJTables.doSelectCell(JTable, int, int)
-
JTables.doSelectCell(JTable, int, int)