com.japisoft.xmlpad
Class SharedProperties

java.lang.Object
  extended bycom.japisoft.xmlpad.SharedProperties

public class SharedProperties
extends java.lang.Object

Set of common properties. In most of the case you don't have to alter such properties. If you alter it, it must be done before using the XMLContainer

Version:
1.0
Author:
(c) 2004 JAPISoft / http://www.japisoft.com

Field Summary
static java.lang.String DEFAULT_LOAD_DIRECTORY
          Property for defining the default directory when loading a file
static org.xml.sax.EntityResolver ENTITY_RESOLVER
          Entity resolver for various entities.
static boolean FULL_TEXT_VIEW
          This is a property for switching to a full text view.
static int HELPER_DELAY
          Delay before an popup helper is shown in ms
static boolean HELPER_PANEL
          Add an helper panel for each content assistant element
static boolean HIGHLIGHT_ERROR_ONTHEFLY
          Highligh syntax errors inside the editor on-the-fly
static boolean LOCALIZED_MESSAGE
          Use the resource bundle for finding the localized message.
static int MAX_ENTITY_VISIBLE_SIZE_HELPER
          Maximal size for the entity name and value inside the helper
static boolean SCHEMA_CACHING
          This is a property for caching a SCHEMA inside the content assistant.
static boolean TOOLTIP_TREE
          Property for activating/disactivacting tooltip for each tree node
static int VISIBLE_TREENODE_TEXTE
          This is the maximum visible characters in the tree for text and attribute value
static boolean WRAPPED_LINE
          This is a property for activating a line wrapping.
 
Constructor Summary
SharedProperties()
           
 
Method Summary
static javax.swing.ImageIcon getBugLittleIcon()
           
static javax.swing.Icon getDefaultEntityHelperIcon()
          Icon for content assistant
static javax.swing.Icon getDefaultSystemHelperIcon()
          Icon for content assistant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VISIBLE_TREENODE_TEXTE

public static int VISIBLE_TREENODE_TEXTE
This is the maximum visible characters in the tree for text and attribute value


LOCALIZED_MESSAGE

public static boolean LOCALIZED_MESSAGE
Use the resource bundle for finding the localized message. Disable it will improve the loading performance. By default true


HELPER_DELAY

public static int HELPER_DELAY
Delay before an popup helper is shown in ms


WRAPPED_LINE

public static boolean WRAPPED_LINE
This is a property for activating a line wrapping. By default false. It must be called before using the XMLContainer class


FULL_TEXT_VIEW

public static boolean FULL_TEXT_VIEW
This is a property for switching to a full text view. It must be called before using the XMLContainer class


SCHEMA_CACHING

public static boolean SCHEMA_CACHING
This is a property for caching a SCHEMA inside the content assistant. By default false


ENTITY_RESOLVER

public static org.xml.sax.EntityResolver ENTITY_RESOLVER
Entity resolver for various entities. Useful for XML catalogs


TOOLTIP_TREE

public static boolean TOOLTIP_TREE
Property for activating/disactivacting tooltip for each tree node


DEFAULT_LOAD_DIRECTORY

public static java.lang.String DEFAULT_LOAD_DIRECTORY
Property for defining the default directory when loading a file


HIGHLIGHT_ERROR_ONTHEFLY

public static boolean HIGHLIGHT_ERROR_ONTHEFLY
Highligh syntax errors inside the editor on-the-fly


MAX_ENTITY_VISIBLE_SIZE_HELPER

public static int MAX_ENTITY_VISIBLE_SIZE_HELPER
Maximal size for the entity name and value inside the helper


HELPER_PANEL

public static boolean HELPER_PANEL
Add an helper panel for each content assistant element

Constructor Detail

SharedProperties

public SharedProperties()
Method Detail

getBugLittleIcon

public static javax.swing.ImageIcon getBugLittleIcon()
Returns:
a minimal icon superposed in the tree or column bar for each error

getDefaultSystemHelperIcon

public static javax.swing.Icon getDefaultSystemHelperIcon()
Icon for content assistant


getDefaultEntityHelperIcon

public static javax.swing.Icon getDefaultEntityHelperIcon()
Icon for content assistant



Copyright © 2006 JAPISoft. All Rights Reserved.