Package com.jsql.view.swing.util
Class UiUtil
java.lang.Object
com.jsql.view.swing.util.UiUtil
Build default component appearance, keyboard shortcuts and icons.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final Border
static final Border
static final Border
static final Border
static final String
static final Color
static final Color
static final Color
static final Color
static final Color
static final Color
static final Font
static final Font
static final String
static final String
static final String
static final Font
static final Font
static final int
static final int
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final Icon
static final ImageIcon
static final Image
static final ImageIcon
static final ImageIcon
static final ImageIcon
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final URL
static final URL
static final URL
static final URL
static final URL
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
drawPlaceholder
(JTextComponent textComponent, Graphics g, String placeholderText) static void
drawPlaceholder
(JTextComponent textComponent, Graphics g, String placeholderText, int y) getIcons()
Icons for application window.static void
initialize
(JTextComponent component) static void
Change the default style of various components.static void
stopDocumentColorer
(JTextPane textPane) End the thread doing coloring.
-
Field Details
-
COLOR_BLU
-
COLOR_GREEN
-
TEXTPANE_FONT
- See Also:
-
COLOR_FOCUS_GAINED
-
COLOR_DEFAULT_BACKGROUND
-
COLOR_COMPONENT_BORDER
-
COLOR_FOCUS_LOST
-
BORDER_FOCUS_LOST
-
BORDER_FOCUS_GAINED
-
URL_GLOBE
-
ICON_TICK
-
ICON_SQUARE_RED
-
ICON_SQUARE_GREY
-
ICON_LOADER_GIF
-
ICON_ADMIN_SERVER
-
ICON_SHELL_SERVER
-
ICON_DATABASE_SERVER
-
ICON_FILE_SERVER
-
ICON_COG
-
ICON_BRUTER
-
ICON_CODER
-
ICON_UPLOAD
-
ICON_SCANLIST
-
ICON_TABLE
-
ICON_TABLE_GO
-
ICON_DATABASE
-
ICON_DATABASE_GO
-
ICON_CONSOLE
-
ICON_HEADER
-
ICON_CHUNK
-
ICON_BINARY
-
ICON_CUP
-
ICON_CLOSE
-
ICON_CLOSE_ROLLOVER
-
ICON_CLOSE_PRESSED
-
ICON_ARROW_DEFAULT
-
ICON_ARROW_ROLLOVER
-
ICON_ARROW_PRESSED
-
ICON_EXPAND_TEXT
-
ICON_FLAG_AR
-
ICON_FLAG_ZH
-
ICON_FLAG_RU
-
ICON_FLAG_TR
-
ICON_FLAG_EN
-
ICON_FLAG_FR
-
ICON_FLAG_HI
-
ICON_FLAG_CS
-
ICON_FLAG_DE
-
ICON_FLAG_NL
-
ICON_FLAG_IN_ID
-
ICON_FLAG_IT
-
ICON_FLAG_ES
-
ICON_FLAG_PT
-
ICON_FLAG_PL
-
ICON_FLAG_JA
-
ICON_FLAG_KO
-
ICON_FLAG_RO
-
ICON_FLAG_LK
-
ICON_FLAG_SE
-
ICON_FLAG_FI
-
URL_ICON_16
-
URL_ICON_32
-
URL_ICON_96
-
URL_ICON_128
-
IMG_SHADOW
-
IMG_BUG
-
IMG_STOP_DEFAULT
-
IMG_STOP_ROLLOVER
-
IMG_STOP_PPRESSED
-
PATH_WEB_FOLDERS
- See Also:
-
INPUT_STREAM_PAGES_SCAN
- See Also:
-
ICON_EMPTY
-
PATH_PAUSE
- See Also:
-
PATH_PROGRESSBAR
- See Also:
-
ICON_ERROR
-
BORDER_BLU
-
BORDER_ROUND_BLU
-
FONT_NAME_MONO_NON_ASIAN
- See Also:
-
FONT_SIZE_MONO_NON_ASIAN
public static final int FONT_SIZE_MONO_NON_ASIAN- See Also:
-
FONT_NAME_MONO_ASIAN
- See Also:
-
FONT_SIZE_MONO_ASIAN
public static final int FONT_SIZE_MONO_ASIAN- See Also:
-
FONT_NAME_MONOSPACED
- See Also:
-
FONT_MONO_NON_ASIAN
-
FONT_MONO_ASIAN
-
FONT_NON_MONO
-
FONT_NON_MONO_BIG
-
CHUNK_VISIBLE
- See Also:
-
BINARY_VISIBLE
- See Also:
-
NETWORK_VISIBLE
- See Also:
-
JAVA_VISIBLE
- See Also:
-
-
Method Details
-
prepareGUI
public static void prepareGUI()Change the default style of various components. -
getIcons
Icons for application window.- Returns:
- List of a 16x16 (default) and 32x32 icon (alt-tab, taskbar)
-
drawPlaceholder
public static void drawPlaceholder(JTextComponent textComponent, Graphics g, String placeholderText) -
drawPlaceholder
public static void drawPlaceholder(JTextComponent textComponent, Graphics g, String placeholderText, int y) -
initialize
-
stopDocumentColorer
End the thread doing coloring.- Parameters:
textPane
- which coloring has to stop.
-