com.mindtree.techworks.insight
Class InsightConstants

java.lang.Object
  extended by com.mindtree.techworks.insight.InsightConstants

public abstract class InsightConstants
extends java.lang.Object

The InsightConstants class is a convenient placeholder for all information constant for the Insight application. Constant data defined in this interface may be externalized if necessary.

Version:
1.0, 04/10/25
Author:
Regunath B
See Also:
Insight

Field Summary
static java.lang.String CHARACTER_ENCODING
          Stores the encoding used by URLEncode, URLDecode and XML related classes
static java.awt.Color DEFAULT_BACKGROUND
          Default color for backgrounds if none is specified
static java.awt.Font DEFAULT_FONT
          Default fonts for display
static java.awt.Color DEFAULT_FOREGROUND
          Default color for foreground if none is specified
static int DEFAULT_PAGE_SIZE
          Constant that holds the number of LogEvents per Page.
static java.awt.Font DEFAULT_SMALL_FONT
          Default fonts for display
static int DISPLAY_INTERVAL
          Display refresh interval
static java.lang.String FILE_EXT
          File Extension of the temp files
static java.lang.String FILE_PROTOCOL_PREFIX
          Useful constant to store the file protocol prefix
static java.lang.String FILE_SEPARATOR
          File Separator
static java.lang.String FRAME_TITLE
          Title for the Insight Window
static java.lang.String INSIGHT_HOME
          The system variable to identify Insight home
static java.lang.String LOG_FORMAT_KEY
          Useful constants to store the receiver format keys
static java.lang.String LOOK_AND_FEEL
           
static java.lang.String LOOK_AND_FEEL_THEME
           
static java.util.HashMap MESSAGE_LITERALS
          Hashmap containing message literals
static java.awt.Color[] NAMESPACE_COLORS
          Array of colors available for distinguishing namespaces in the display
static java.lang.String PAGE_STATUS_SEPARATOR
          Page Separator
static int PREFERENCE_NAME_MIN_SIZE
          Constant for minimum Preference name size
static int REMOTE_PORT_DEFAULT_VALUE
          The default value of the remote port
static java.lang.String ROOT_CACHE_DIR
          Root Directory for Caching
static int SB_PARTITION_COUNT
          Useful constant for the Status bar
static java.lang.String SEARCH_RESULT_DISP_STATUS
          Status indicator for Search Results
static java.lang.String SEARCH_RESULT_DISP_STATUS_END
          End of Search Results status display
static java.lang.String SEARCH_RESULT_DISP_STATUS_START
          Start of Search Results status display
static java.lang.String TEXT_HIGHLIGHT
          Canonical name for the text highlight color in the active PLAF
static java.lang.String TEXT_INDENT
          For indentation
static java.lang.String TEXT_SEPARATOR
          Text Separator
static int TOOL_BAR_GROUP_SPACING
          Useful constant to specify the spacing between distinct tool bar button groups
 
Constructor Summary
InsightConstants()
           
 
Method Summary
static java.lang.String getLiteral(java.lang.String key)
          Gets the message literal for the specified key
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSIGHT_HOME

public static final java.lang.String INSIGHT_HOME
The system variable to identify Insight home

See Also:
Constant Field Values

FRAME_TITLE

public static final java.lang.String FRAME_TITLE
Title for the Insight Window

See Also:
Constant Field Values

DEFAULT_BACKGROUND

public static final java.awt.Color DEFAULT_BACKGROUND
Default color for backgrounds if none is specified


DEFAULT_FOREGROUND

public static final java.awt.Color DEFAULT_FOREGROUND
Default color for foreground if none is specified


PREFERENCE_NAME_MIN_SIZE

public static final int PREFERENCE_NAME_MIN_SIZE
Constant for minimum Preference name size

See Also:
Constant Field Values

NAMESPACE_COLORS

public static final java.awt.Color[] NAMESPACE_COLORS
Array of colors available for distinguishing namespaces in the display


TEXT_HIGHLIGHT

public static final java.lang.String TEXT_HIGHLIGHT
Canonical name for the text highlight color in the active PLAF

See Also:
Constant Field Values

DEFAULT_FONT

public static final java.awt.Font DEFAULT_FONT
Default fonts for display


DEFAULT_SMALL_FONT

public static final java.awt.Font DEFAULT_SMALL_FONT
Default fonts for display


TOOL_BAR_GROUP_SPACING

public static final int TOOL_BAR_GROUP_SPACING
Useful constant to specify the spacing between distinct tool bar button groups

See Also:
Constant Field Values

CHARACTER_ENCODING

public static final java.lang.String CHARACTER_ENCODING
Stores the encoding used by URLEncode, URLDecode and XML related classes

See Also:
Constant Field Values

FILE_PROTOCOL_PREFIX

public static final java.lang.String FILE_PROTOCOL_PREFIX
Useful constant to store the file protocol prefix

See Also:
Constant Field Values

ROOT_CACHE_DIR

public static final java.lang.String ROOT_CACHE_DIR
Root Directory for Caching

See Also:
Constant Field Values

TEXT_SEPARATOR

public static final java.lang.String TEXT_SEPARATOR
Text Separator

See Also:
Constant Field Values

TEXT_INDENT

public static final java.lang.String TEXT_INDENT
For indentation

See Also:
Constant Field Values

PAGE_STATUS_SEPARATOR

public static final java.lang.String PAGE_STATUS_SEPARATOR
Page Separator

See Also:
Constant Field Values

SEARCH_RESULT_DISP_STATUS_START

public static final java.lang.String SEARCH_RESULT_DISP_STATUS_START
Start of Search Results status display

See Also:
Constant Field Values

SEARCH_RESULT_DISP_STATUS_END

public static final java.lang.String SEARCH_RESULT_DISP_STATUS_END
End of Search Results status display

See Also:
Constant Field Values

SEARCH_RESULT_DISP_STATUS

public static final java.lang.String SEARCH_RESULT_DISP_STATUS
Status indicator for Search Results

See Also:
Constant Field Values

FILE_SEPARATOR

public static final java.lang.String FILE_SEPARATOR
File Separator


FILE_EXT

public static final java.lang.String FILE_EXT
File Extension of the temp files

See Also:
Constant Field Values

DEFAULT_PAGE_SIZE

public static final int DEFAULT_PAGE_SIZE
Constant that holds the number of LogEvents per Page.

See Also:
Constant Field Values

SB_PARTITION_COUNT

public static final int SB_PARTITION_COUNT
Useful constant for the Status bar

See Also:
Constant Field Values

DISPLAY_INTERVAL

public static final int DISPLAY_INTERVAL
Display refresh interval

See Also:
Constant Field Values

LOG_FORMAT_KEY

public static final java.lang.String LOG_FORMAT_KEY
Useful constants to store the receiver format keys

See Also:
Constant Field Values

REMOTE_PORT_DEFAULT_VALUE

public static final int REMOTE_PORT_DEFAULT_VALUE
The default value of the remote port

See Also:
Constant Field Values

LOOK_AND_FEEL_THEME

public static final java.lang.String LOOK_AND_FEEL_THEME
See Also:
Constant Field Values

LOOK_AND_FEEL

public static final java.lang.String LOOK_AND_FEEL
See Also:
Constant Field Values

MESSAGE_LITERALS

public static final java.util.HashMap MESSAGE_LITERALS
Hashmap containing message literals

Constructor Detail

InsightConstants

public InsightConstants()
Method Detail

getLiteral

public static java.lang.String getLiteral(java.lang.String key)
Gets the message literal for the specified key

Parameters:
key - the unique literal key
Returns:
the message lietarl or the key itself if none is found


Copyright © 2003-2008 MindTree Consulting Ltd.. All Rights Reserved.