|
Kafenio.editor 0.8.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.xeinfach.kafenio.KafenioPanelConfiguration
Description: contains the KafenioPanel configuration, encapsulates the configuration of the editor component.
| Field Summary | |
static int |
APPLET_MODE
|
static int |
JWS_MODE
|
static int |
STANDALONE_MODE
|
| Constructor Summary | |
KafenioPanelConfiguration()
default constructor.creates a new instance of this class. |
|
| Method Summary | |
java.awt.Color |
getBgcolor()
|
java.lang.String |
getCodeBase()
|
java.lang.String |
getContentParameter()
|
java.lang.String |
getCountry()
|
java.util.Vector |
getCustomMenuItems()
|
java.util.Vector |
getCustomToolBar1()
keys for the items are the constants from KafenioToolBar class |
java.util.Vector |
getCustomToolBar2()
keys for the items are the constants from KafenioToolBar class |
java.lang.String |
getDocument()
|
java.lang.String |
getFileDir()
|
java.lang.String |
getImageDir()
|
java.lang.Object |
getKafenioParent()
|
java.lang.String |
getLanguage()
|
int |
getMode()
|
java.lang.String |
getOutputmode()
|
java.lang.String |
getPostUrl()
|
java.lang.String |
getProperty(java.lang.String name)
returns the value of a property with the given name |
java.lang.String |
getRawDocument()
|
java.lang.String |
getServletMode()
|
java.lang.String |
getServletUrl()
|
java.lang.String |
getStyleSheet()
|
java.lang.String[] |
getStyleSheetFileList()
|
java.lang.String |
getTreePilotSystemID()
|
java.net.URL |
getUrlStyleSheet()
|
boolean |
isApplet()
|
boolean |
isBase64()
|
boolean |
isDebugMode()
|
boolean |
isShowMenuBar()
|
boolean |
isShowMenuIcons()
|
boolean |
isShowToolbar()
|
boolean |
isShowToolbar2()
|
boolean |
isShowViewSource()
|
boolean |
isStandalone()
|
boolean |
isUnicode()
|
boolean |
isWebStart()
|
java.awt.Color |
parseBgColor(java.lang.String bgColorString)
|
java.util.Vector |
parseToolbarItems(java.lang.String aString)
method to parse a space separated string into a vector. |
void |
setBase64(boolean b)
|
void |
setBgcolor(java.awt.Color color)
|
void |
setBgcolor(java.lang.String color)
|
void |
setCodeBase(java.lang.String string)
|
void |
setContentParameter(java.lang.String string)
|
void |
setCountry(java.lang.String string)
|
void |
setCustomMenuItems(java.lang.String menuItems)
|
void |
setCustomMenuItems(java.util.Vector vector)
|
void |
setCustomToolBar1(java.lang.String toolbarItems)
keys for the items are the constants from KafenioToolBar class |
void |
setCustomToolBar1(java.util.Vector vector)
keys for the items are the constants from KafenioToolBar class |
void |
setCustomToolBar2(java.lang.String toolbarItems)
keys for the items are the constants from KafenioToolBar class |
void |
setCustomToolBar2(java.util.Vector vector)
keys for the items are the constants from KafenioToolBar class |
void |
setDebugMode(boolean b)
|
void |
setDocument(java.lang.String string)
|
void |
setFileDir(java.lang.String string)
|
void |
setImageDir(java.lang.String string)
|
void |
setKafenioParent(java.lang.Object parentApplet)
|
void |
setLanguage(java.lang.String string)
|
void |
setMode(int newMode)
sets the parameter that defines if Kafenio should be run as an applet. |
void |
setOutputmode(java.lang.String string)
sets the outputmode of the editor. |
void |
setPostUrl(java.lang.String string)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
sets or overwrites a property with the given information. |
void |
setRawDocument(java.lang.String string)
|
void |
setServletMode(java.lang.String newServletMode)
servlet mode can be either "java" or "cgi". default is "java". |
void |
setServletUrl(java.lang.String string)
|
void |
setShowMenuBar(boolean b)
|
void |
setShowMenuIcons(boolean b)
|
void |
setShowToolbar(boolean b)
|
void |
setShowToolbar2(boolean b)
|
void |
setShowViewSource(boolean b)
|
void |
setStyleSheet(java.lang.String string)
|
void |
setStyleSheetFileList(java.lang.String[] strings)
|
void |
setTreePilotSystemID(java.lang.String string)
|
void |
setUnicode(boolean unicode)
|
void |
setUrlStyleSheet(java.net.URL url)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int STANDALONE_MODE
public static final int APPLET_MODE
public static final int JWS_MODE
| Constructor Detail |
public KafenioPanelConfiguration()
| Method Detail |
public boolean isApplet()
isApplet in interface KafenioPanelConfigurationInterfacepublic boolean isWebStart()
isWebStart in interface KafenioPanelConfigurationInterfacepublic boolean isStandalone()
isStandalone in interface KafenioPanelConfigurationInterfacepublic boolean isBase64()
isBase64 in interface KafenioPanelConfigurationInterfacepublic java.awt.Color getBgcolor()
getBgcolor in interface KafenioPanelConfigurationInterfacepublic boolean isDebugMode()
isDebugMode in interface KafenioPanelConfigurationInterfacepublic java.lang.String getCodeBase()
getCodeBase in interface KafenioPanelConfigurationInterfacepublic java.lang.String getCountry()
getCountry in interface KafenioPanelConfigurationInterfacepublic java.lang.String getDocument()
getDocument in interface KafenioPanelConfigurationInterfacepublic boolean isShowMenuIcons()
isShowMenuIcons in interface KafenioPanelConfigurationInterfacepublic boolean isShowViewSource()
isShowViewSource in interface KafenioPanelConfigurationInterfacepublic java.lang.String getLanguage()
getLanguage in interface KafenioPanelConfigurationInterfacepublic java.lang.String getRawDocument()
getRawDocument in interface KafenioPanelConfigurationInterfacepublic java.lang.String getStyleSheet()
getStyleSheet in interface KafenioPanelConfigurationInterfacepublic java.lang.String[] getStyleSheetFileList()
getStyleSheetFileList in interface KafenioPanelConfigurationInterfacepublic java.net.URL getUrlStyleSheet()
getUrlStyleSheet in interface KafenioPanelConfigurationInterfacepublic void setMode(int newMode)
setMode in interface KafenioPanelConfigurationInterfacenewMode - application mode-ID as specified by constantspublic void setBase64(boolean b)
setBase64 in interface KafenioPanelConfigurationInterfaceb - true if base64 encoding should be used when reading the document into the editor.public void setBgcolor(java.awt.Color color)
setBgcolor in interface KafenioPanelConfigurationInterfacecolor - sets the applications background color.public void setBgcolor(java.lang.String color)
setBgcolor in interface KafenioPanelConfigurationInterfacecolor - parses the string into a color object and then sets the applications background color.public void setDebugMode(boolean b)
setDebugMode in interface KafenioPanelConfigurationInterfaceb - true if debug mode is enabled, false for debug mode disabled.public void setCodeBase(java.lang.String string)
setCodeBase in interface KafenioPanelConfigurationInterfacestring - sets the applets codebase to the given value.public void setCountry(java.lang.String string)
setCountry in interface KafenioPanelConfigurationInterfacestring - sets the countrycode to use. (i.e.: DE for germany or UK for united kingdom.public void setDocument(java.lang.String string)
setDocument in interface KafenioPanelConfigurationInterfacestring - sets the document textpublic void setShowMenuIcons(boolean b)
setShowMenuIcons in interface KafenioPanelConfigurationInterfaceb - true if menu icons should be displayed, false otherwise.public void setShowViewSource(boolean b)
setShowViewSource in interface KafenioPanelConfigurationInterfaceb - true if sourceview should be displayed, false otherwise.public void setLanguage(java.lang.String string)
setLanguage in interface KafenioPanelConfigurationInterfacestring - sets the language code to use. (i.e.: de for germany or UK for united kingdom)public void setRawDocument(java.lang.String string)
setRawDocument in interface KafenioPanelConfigurationInterfacestring - sets the raw document textpublic void setStyleSheet(java.lang.String string)
setStyleSheet in interface KafenioPanelConfigurationInterfacestring - sets the css stylesheet for the document.public void setStyleSheetFileList(java.lang.String[] strings)
setStyleSheetFileList in interface KafenioPanelConfigurationInterfacestrings - sets the css stylesheet files to use.public void setUrlStyleSheet(java.net.URL url)
setUrlStyleSheet in interface KafenioPanelConfigurationInterfaceurl - sets the url to the stylesheet to use.public int getMode()
getMode in interface KafenioPanelConfigurationInterfacepublic java.util.Vector getCustomMenuItems()
getCustomMenuItems in interface KafenioPanelConfigurationInterfacepublic void setCustomMenuItems(java.util.Vector vector)
setCustomMenuItems in interface KafenioPanelConfigurationInterfacevector - sets the menu items in a vector that contains the keys of the
menu items to be included in the menu bar.public void setCustomMenuItems(java.lang.String menuItems)
setCustomMenuItems in interface KafenioPanelConfigurationInterfacemenuItems - parses the top-level menu items to be shown from the given string.public void setShowToolbar(boolean b)
setShowToolbar in interface KafenioPanelConfigurationInterfaceb - true if toolbar 1 is to be displayed.public void setShowToolbar2(boolean b)
setShowToolbar2 in interface KafenioPanelConfigurationInterfaceb - true if toolbar 1 is to be displayed.public void setShowMenuBar(boolean b)
setShowMenuBar in interface KafenioPanelConfigurationInterfaceb - true if menubar should be displayed.public boolean isShowMenuBar()
isShowMenuBar in interface KafenioPanelConfigurationInterfacepublic boolean isShowToolbar()
isShowToolbar in interface KafenioPanelConfigurationInterfacepublic boolean isShowToolbar2()
isShowToolbar2 in interface KafenioPanelConfigurationInterfacepublic void setImageDir(java.lang.String string)
setImageDir in interface KafenioPanelConfigurationInterfacestring - path to image folderpublic void setFileDir(java.lang.String string)
setFileDir in interface KafenioPanelConfigurationInterfacestring - path to file folderpublic java.lang.String getFileDir()
getFileDir in interface KafenioPanelConfigurationInterfacepublic java.lang.String getImageDir()
getImageDir in interface KafenioPanelConfigurationInterfacepublic void setTreePilotSystemID(java.lang.String string)
setTreePilotSystemID in interface KafenioPanelConfigurationInterfacestring - sets the treepilot system id.public java.lang.String getTreePilotSystemID()
getTreePilotSystemID in interface KafenioPanelConfigurationInterfacepublic void setServletUrl(java.lang.String string)
setServletUrl in interface KafenioPanelConfigurationInterfacestring - sets the servlet URL that is called when fetching image- or file information
for the insert anchor or insert image dialogs.public java.lang.String getServletUrl()
getServletUrl in interface KafenioPanelConfigurationInterfacepublic void setServletMode(java.lang.String newServletMode)
setServletMode in interface KafenioPanelConfigurationInterfacenewServletMode - the current ServletMode (can be "cgi" or "java", case insensitive)public void setPostUrl(java.lang.String string)
setPostUrl in interface KafenioPanelConfigurationInterfacestring - set url to post content to for saving documents on the web.public java.lang.String getPostUrl()
getPostUrl in interface KafenioPanelConfigurationInterfacepublic java.lang.String getServletMode()
getServletMode in interface KafenioPanelConfigurationInterfacepublic void setContentParameter(java.lang.String string)
setContentParameter in interface KafenioPanelConfigurationInterfacestring - sets the content parameter. (the document to edit as string value)public java.lang.String getContentParameter()
getContentParameter in interface KafenioPanelConfigurationInterfacepublic void setOutputmode(java.lang.String string)
setOutputmode in interface KafenioPanelConfigurationInterfacestring - outputmode to set (can be "normal", "off" or "base64"public java.lang.String getOutputmode()
getOutputmode in interface KafenioPanelConfigurationInterfacepublic void setKafenioParent(java.lang.Object parentApplet)
setKafenioParent in interface KafenioPanelConfigurationInterfaceparentApplet - Parent of KafenioPanelpublic java.lang.Object getKafenioParent()
getKafenioParent in interface KafenioPanelConfigurationInterfacepublic java.util.Vector getCustomToolBar1()
getCustomToolBar1 in interface KafenioPanelConfigurationInterfacepublic java.util.Vector getCustomToolBar2()
getCustomToolBar2 in interface KafenioPanelConfigurationInterfacepublic void setCustomToolBar1(java.util.Vector vector)
setCustomToolBar1 in interface KafenioPanelConfigurationInterfacevector - vector that contains all items as string for toolbar 1public void setCustomToolBar1(java.lang.String toolbarItems)
setCustomToolBar1 in interface KafenioPanelConfigurationInterfacetoolbarItems - string that contains all items as space separated list for toolbar 1public void setCustomToolBar2(java.util.Vector vector)
setCustomToolBar2 in interface KafenioPanelConfigurationInterfacevector - vector that contains all items as string for toolbar 2public void setCustomToolBar2(java.lang.String toolbarItems)
setCustomToolBar2 in interface KafenioPanelConfigurationInterfacetoolbarItems - string that contains all items as space separated list for toolbar 2public java.lang.String toString()
toString in interface KafenioPanelConfigurationInterfacepublic java.util.Vector parseToolbarItems(java.lang.String aString)
parseToolbarItems in interface KafenioPanelConfigurationInterfaceaString - the string to parse.
public java.awt.Color parseBgColor(java.lang.String bgColorString)
parseBgColor in interface KafenioPanelConfigurationInterfacebgColorString - string that represents the color in RGB (i.e.: #FFFFFF for white.)
public void setProperty(java.lang.String name,
java.lang.String value)
KafenioPanelConfigurationInterface
setProperty in interface KafenioPanelConfigurationInterfacename - name of the property (id)value - value of the property.KafenioPanelConfigurationInterface.setProperty(java.lang.String, java.lang.String)public java.lang.String getProperty(java.lang.String name)
KafenioPanelConfigurationInterface
getProperty in interface KafenioPanelConfigurationInterfacename - name of the property.
KafenioPanelConfigurationInterface.getProperty(java.lang.String)public boolean isUnicode()
isUnicode in interface KafenioPanelConfigurationInterfacepublic void setUnicode(boolean unicode)
setUnicode in interface KafenioPanelConfigurationInterfaceunicode - if set to true, exported document text is in unicode format (no html-entities). default is false.
|
Kafenio.editor 0.8.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||