クラス org.objectweb.cjdbc.console.gui.constants.GuiConstants

すべてのメンバ一覧

説明

This class defines all the GuiConstants

作者:
Nicolas Modrzyk
バージョン:
1.0

GuiConstants.java44 行で定義されています。

Static Public メソッド

final Color getBackendBgColor (String paneName)
final boolean isValidBackendState (String state)

Static Public 変数

final String BACKEND_STATE_ENABLED = GuiTranslate.get("gui.backend.enabled")
final String BACKEND_STATE_DISABLED = GuiTranslate.get("gui.backend.disabled")
final String BACKEND_STATE_DISABLING = GuiTranslate.get("gui.backend.disabling")
final String BACKEND_STATE_RESTORE = GuiTranslate.get("gui.backend.restore")
final String BACKEND_STATE_BACKUP = GuiTranslate.get("gui.backend.backup")
final String BACKEND_STATE_RECOVERY = GuiTranslate.get("gui.backend.recovery")
final String BACKEND_STATE_NEW = GuiTranslate.get("gui.backend.new")
final int DEBUG_ALL = 0
final int DEBUG_NO_EXCEPTION_WINDOW = 1
final int DEBUG_INFO = 2
final int DEBUG_NONE = 3
final int DEBUG_LEVEL = DEBUG_ALL
final int MAIN_FRAME_WIDTH = 1024
final int MAIN_FRAME_HEIGHT = 600
final String LIST_CONTROLLER = "ListController"
final String LIST_DATABASE = "ListDatabase"
final String LIST_FILES = "ListFiles"
final String CONTROLLER_STATE_UP = "Controller_UP"
final String CONTROLLER_STATE_DOWN = "Controller_DOWN"
final String CJDBC_URL_DOC = "http://c-jdbc.objectweb.org/current/doc/userGuide/html/userGuide.html"
final String CJDBC_DEFAULT_SESSION_NAME = "session"
final String CJDBC_DEFAULT_SESSION_FILE
final Font CENTER_PANE_FONT
final Font DEFAULT_FONT
final Color BACKEND_STATE_ENABLED_COLOR
final Color BACKEND_STATE_RECOVERY_COLOR
final Color BACKEND_STATE_DISABLED_COLOR
final Color NICE_COLOR
final Border LOWERED_BORDER
final Border TITLED_BORDER
Cursor customCursor
final String BACKEND_NO_CHECKPOINT = GuiTranslate.get("gui.backend.no.checkpoint")

スタティック関数

 [static initializer]

Static Private 変数

final Color BACKEND_STATE_NEW_COLOR
final Color BACKEND_STATE_BACKUP_COLOR
final Color BACKEND_STATE_RESTORE_COLOR


メソッド

org.objectweb.cjdbc.console.gui.constants.GuiConstants.[static initializer]  )  [static, package]
 

final Color org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor String  paneName  )  [static]
 

Get colors for backend panels

引数:
paneName name of the panel
戻り値:
Color NEVER null
GuiConstants.java183 行で定義されています。

参照先 org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_BACKUP, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_BACKUP_COLOR, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_DISABLED, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_DISABLED_COLOR, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_ENABLED, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_ENABLED_COLOR, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_NEW, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_NEW_COLOR, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RECOVERY, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RECOVERY_COLOR, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RESTORE, と org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RESTORE_COLOR.

00184 { 00185 if (paneName.equals(BACKEND_STATE_ENABLED)) 00186 return BACKEND_STATE_ENABLED_COLOR; 00187 else if (paneName.equals(BACKEND_STATE_DISABLED)) 00188 return BACKEND_STATE_DISABLED_COLOR; 00189 else if (paneName.equals(BACKEND_STATE_RECOVERY)) 00190 return BACKEND_STATE_RECOVERY_COLOR; 00191 else if (paneName.equals(BACKEND_STATE_NEW)) 00192 return BACKEND_STATE_NEW_COLOR; 00193 else if (paneName.equals(BACKEND_STATE_RESTORE)) 00194 return BACKEND_STATE_RESTORE_COLOR; 00195 else if (paneName.equals(BACKEND_STATE_BACKUP)) 00196 return BACKEND_STATE_BACKUP_COLOR; 00197 else 00198 return Color.white; 00199 }

final boolean org.objectweb.cjdbc.console.gui.constants.GuiConstants.isValidBackendState String  state  )  [static]
 

Test whether the given backend state is a valid state Since all the backend states are defined here, this test method should also be defined here.

引数:
state the test to validate
戻り値:
true if valid state, false otherwise.
GuiConstants.java208 行で定義されています。

参照先 org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_BACKUP, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_DISABLED, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_ENABLED, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_NEW, org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RECOVERY, と org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RESTORE.

00209 { 00210 if (state.equals(BACKEND_STATE_ENABLED)) 00211 return true; 00212 else if (state.equals(BACKEND_STATE_DISABLED)) 00213 return true; 00214 else if (state.equals(BACKEND_STATE_RESTORE)) 00215 return true; 00216 else if (state.equals(BACKEND_STATE_RECOVERY)) 00217 return true; 00218 else if (state.equals(BACKEND_STATE_BACKUP)) 00219 return true; 00220 else if (state.equals(BACKEND_STATE_NEW)) 00221 return true; 00222 else 00223 return false; 00224 }


変数

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_NO_CHECKPOINT = GuiTranslate.get("gui.backend.no.checkpoint") [static]
 

Do not use any checkpoint for enable or disable of a backend GuiConstants.java160 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_BACKUP = GuiTranslate.get("gui.backend.backup") [static]
 

Backend state backup GuiConstants.java55 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor(), と org.objectweb.cjdbc.console.gui.constants.GuiConstants.isValidBackendState().

final Color org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_BACKUP_COLOR [static, private]
 

初期値:

new Color(255, 193, 193)
GuiConstants.java153 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor().

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_DISABLED = GuiTranslate.get("gui.backend.disabled") [static]
 

Backend state disabled GuiConstants.java49 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor(), と org.objectweb.cjdbc.console.gui.constants.GuiConstants.isValidBackendState().

final Color org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_DISABLED_COLOR [static]
 

初期値:

new Color(238, 180, 180)
Final Color for backend state disabled GuiConstants.java124 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor().

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_DISABLING = GuiTranslate.get("gui.backend.disabling") [static]
 

Backend state disabling GuiConstants.java51 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_ENABLED = GuiTranslate.get("gui.backend.enabled") [static]
 

Backend state enabled GuiConstants.java47 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor(), と org.objectweb.cjdbc.console.gui.constants.GuiConstants.isValidBackendState().

final Color org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_ENABLED_COLOR [static]
 

初期値:

new Color(180, 238, 180)
Final Color for backend state enabled GuiConstants.java113 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor().

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_NEW = GuiTranslate.get("gui.backend.new") [static]
 

Backend state new GuiConstants.java59 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor(), と org.objectweb.cjdbc.console.gui.constants.GuiConstants.isValidBackendState().

final Color org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_NEW_COLOR [static, private]
 

初期値:

new Color(185, 211, 238)
GuiConstants.java151 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor().

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RECOVERY = GuiTranslate.get("gui.backend.recovery") [static]
 

Backend state recovery GuiConstants.java57 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor(), と org.objectweb.cjdbc.console.gui.constants.GuiConstants.isValidBackendState().

final Color org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RECOVERY_COLOR [static]
 

初期値:

new Color(255, 211, 155)
Final Color for backend state recovery GuiConstants.java118 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor().

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RESTORE = GuiTranslate.get("gui.backend.restore") [static]
 

Backend state restore GuiConstants.java53 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor(), と org.objectweb.cjdbc.console.gui.constants.GuiConstants.isValidBackendState().

final Color org.objectweb.cjdbc.console.gui.constants.GuiConstants.BACKEND_STATE_RESTORE_COLOR [static, private]
 

初期値:

new Color(255, 174, 185)
GuiConstants.java155 行で定義されています。

参照元 org.objectweb.cjdbc.console.gui.constants.GuiConstants.getBackendBgColor().

final Font org.objectweb.cjdbc.console.gui.constants.GuiConstants.CENTER_PANE_FONT [static]
 

初期値:

new Font("Verdana", Font.PLAIN, 9)
Font used for the center panel GuiConstants.java101 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.CJDBC_DEFAULT_SESSION_FILE [static]
 

初期値:

CJDBC_DEFAULT_SESSION_NAME + ".properties"
Default save session file GuiConstants.java97 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.CJDBC_DEFAULT_SESSION_NAME = "session" [static]
 

Default save session file GuiConstants.java95 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.CJDBC_URL_DOC = "http://c-jdbc.objectweb.org/current/doc/userGuide/html/userGuide.html" [static]
 

URL to the help of CJDBC GuiConstants.java93 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.CONTROLLER_STATE_DOWN = "Controller_DOWN" [static]
 

Controller state down GuiConstants.java91 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.CONTROLLER_STATE_UP = "Controller_UP" [static]
 

Controller state up GuiConstants.java89 行で定義されています。

Cursor org.objectweb.cjdbc.console.gui.constants.GuiConstants.customCursor [static]
 

Default Custom Cursor for drags GuiConstants.java149 行で定義されています。

final int org.objectweb.cjdbc.console.gui.constants.GuiConstants.DEBUG_ALL = 0 [static]
 

Debug Level All GuiConstants.java65 行で定義されています。

final int org.objectweb.cjdbc.console.gui.constants.GuiConstants.DEBUG_INFO = 2 [static]
 

Debug level info GuiConstants.java69 行で定義されています。

final int org.objectweb.cjdbc.console.gui.constants.GuiConstants.DEBUG_LEVEL = DEBUG_ALL [static]
 

Level of output of the debug GuiConstants.java73 行で定義されています。

final int org.objectweb.cjdbc.console.gui.constants.GuiConstants.DEBUG_NO_EXCEPTION_WINDOW = 1 [static]
 

Debug level all but do not show exception window GuiConstants.java67 行で定義されています。

final int org.objectweb.cjdbc.console.gui.constants.GuiConstants.DEBUG_NONE = 3 [static]
 

No Debug GuiConstants.java71 行で定義されています。

final Font org.objectweb.cjdbc.console.gui.constants.GuiConstants.DEFAULT_FONT [static]
 

初期値:

new Font("Verdana", Font.PLAIN, 9)
Default Font GuiConstants.java107 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.LIST_CONTROLLER = "ListController" [static]
 

Component Name for the list of controllers GuiConstants.java81 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.LIST_DATABASE = "ListDatabase" [static]
 

Component Name for the list of databases GuiConstants.java83 行で定義されています。

final String org.objectweb.cjdbc.console.gui.constants.GuiConstants.LIST_FILES = "ListFiles" [static]
 

Component Name for the files list GuiConstants.java85 行で定義されています。

final Border org.objectweb.cjdbc.console.gui.constants.GuiConstants.LOWERED_BORDER [static]
 

初期値:

BorderFactory .createLoweredBevelBorder()
Lowered border GuiConstants.java136 行で定義されています。

final int org.objectweb.cjdbc.console.gui.constants.GuiConstants.MAIN_FRAME_HEIGHT = 600 [static]
 

Main gui frame height GuiConstants.java78 行で定義されています。

final int org.objectweb.cjdbc.console.gui.constants.GuiConstants.MAIN_FRAME_WIDTH = 1024 [static]
 

Main frame width GuiConstants.java76 行で定義されています。

final Color org.objectweb.cjdbc.console.gui.constants.GuiConstants.NICE_COLOR [static]
 

初期値:

new Color(99, 184, 255)
Nice color GuiConstants.java130 行で定義されています。

final Border org.objectweb.cjdbc.console.gui.constants.GuiConstants.TITLED_BORDER [static]
 

初期値:

BorderFactory .createTitledBorder( LOWERED_BORDER, GuiTranslate.get("gui.border.selected"))
Titled border GuiConstants.java141 行で定義されています。


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:21 2004に生成されました。 doxygen 1.3.8