* @param base64 [boolean] Specifies whether the raw document is Base64 encoded or not.
* @param debugMode [boolean] Specifies whether to show the Debug menu or not.
*/
- public EkitCore(String sDocument, String sStyleSheet, String sRawDocument, URL urlStyleSheet, boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, String sLanguage, String sCountry, boolean base64, boolean debugMode)
+ public EkitCore(String sDocument, String sStyleSheet, String sRawDocument, URL urlStyleSheet, boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, String sLanguage, String sCountry, boolean base64, boolean debugMode, String baseurl)
{
super();
/* Create the editor kit, document, and stylesheet */
jtpMain = new JTextPane();
- htmlKit = new ExtendedHTMLEditorKit();
+ htmlKit = new ExtendedHTMLEditorKit(baseurl);
htmlDoc = (ExtendedHTMLDocument)(htmlKit.createDefaultDocument());
styleSheet = htmlDoc.getStyleSheet();
htmlKit.setDefaultCursor(new Cursor(Cursor.TEXT_CURSOR));
*/
public EkitCore(String sDocument, String sStyleSheet, boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, String sLanguage, String sCountry, boolean base64)
{
- this(sDocument, sStyleSheet, null, null, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, base64, false);
+ this(sDocument, sStyleSheet, null, null, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, base64, false,"");
}
/** Default Language Constructor
*/
public EkitCore(String sDocument, String sStyleSheet, boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, boolean base64)
{
- this(sDocument, sStyleSheet, null, null, showViewSource, showMenuIcons, editModeExclusive, null, null, base64, false);
+ this(sDocument, sStyleSheet, null, null, showViewSource, showMenuIcons, editModeExclusive, null, null, base64, false, "");
}
/** Raw/Base64 Document & Style Sheet URL Constructor (Ideal for EkitApplet)
* @param sLanguage [String] The language portion of the Internationalization Locale to run Ekit in.
* @param sCountry [String] The country portion of the Internationalization Locale to run Ekit in.
*/
- public EkitCore(String sRawDocument, URL urlStyleSheet, boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, String sLanguage, String sCountry, boolean base64)
+ public EkitCore(String sRawDocument, URL urlStyleSheet, boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, String sLanguage, String sCountry, boolean base64, String baseurl)
{
- this(null, null, sRawDocument, urlStyleSheet, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, base64, false);
+ this(null, null, sRawDocument, urlStyleSheet, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, base64, false, baseurl);
}
/** Document Constructor
*/
public EkitCore(String sRawDocument, boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, String sLanguage, String sCountry, boolean base64)
{
- this(null, null, sRawDocument, null, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, base64, false);
+ this(null, null, sRawDocument, null, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, base64, false,"");
}
/** Default Language & Document Constructor
*/
public EkitCore(String sRawDocument, boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, boolean base64)
{
- this(null, null, sRawDocument, null, showViewSource, showMenuIcons, editModeExclusive, null, null, base64, false);
+ this(null, null, sRawDocument, null, showViewSource, showMenuIcons, editModeExclusive, null, null, base64, false,"");
}
/** Flags & Language Constructor
*/
public EkitCore(boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive, String sLanguage, String sCountry)
{
- this(null, null, null, null, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, false, false);
+ this(null, null, null, null, showViewSource, showMenuIcons, editModeExclusive, sLanguage, sCountry, false, false,"");
}
/** Flags Constructor
*/
public EkitCore(boolean showViewSource, boolean showMenuIcons, boolean editModeExclusive)
{
- this(null, null, null, null, showViewSource, showMenuIcons, editModeExclusive, null, null, false, false);
+ this(null, null, null, null, showViewSource, showMenuIcons, editModeExclusive, null, null, false, false,"");
}
/** Language & Debug Constructor
*/
public EkitCore(String sLanguage, String sCountry, boolean debugMode)
{
- this(null, null, null, null, false, true, true, sLanguage, sCountry, false, debugMode);
+ this(null, null, null, null, false, true, true, sLanguage, sCountry, false, debugMode,"");
}
/** Language Constructor
*/
public EkitCore(String sLanguage, String sCountry)
{
- this(null, null, null, null, false, true, true, sLanguage, sCountry, false, false);
+ this(null, null, null, null, false, true, true, sLanguage, sCountry, false, false,"");
}
/** Debug Constructor
*/
public EkitCore(boolean debugMode)
{
- this(null, null, null, null, false, true, true, null, null, false, debugMode);
+ this(null, null, null, null, false, true, true, null, null, false, debugMode,"");
}
/** Empty Constructor
*/
public EkitCore()
{
- this(null, null, null, null, false, true, true, null, null, false, false);
+ this(null, null, null, null, false, true, true, null, null, false, false,"");
}
/* ActionListener method */