|
Kafenio.editor 0.8.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Description: contains the KafenioPanel configuration, encapsulates the configuration of the editor component.
| 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 b)
|
void |
setUrlStyleSheet(java.net.URL url)
|
java.lang.String |
toString()
|
| Method Detail |
public boolean isApplet()
public boolean isWebStart()
public boolean isStandalone()
public boolean isBase64()
public boolean isUnicode()
public java.awt.Color getBgcolor()
public boolean isDebugMode()
public java.lang.String getCodeBase()
public java.lang.String getCountry()
public java.lang.String getDocument()
public boolean isShowMenuIcons()
public boolean isShowViewSource()
public java.lang.String getLanguage()
public java.lang.String getRawDocument()
public java.lang.String getStyleSheet()
public java.lang.String[] getStyleSheetFileList()
public java.net.URL getUrlStyleSheet()
public void setMode(int newMode)
newMode - application mode-ID as specified by constantspublic void setBase64(boolean b)
b - true if base64 encoding should be used when reading the document into the editor.public void setUnicode(boolean b)
b - true if export of document text is in unicode format, false otherwise.public void setBgcolor(java.awt.Color color)
color - sets the applications background color.public void setBgcolor(java.lang.String color)
color - parses the string into a color object and then sets the applications background color.public void setDebugMode(boolean b)
b - true if debug mode is enabled, false for debug mode disabled.public void setCodeBase(java.lang.String string)
string - sets the applets codebase to the given value.public void setCountry(java.lang.String string)
string - sets the countrycode to use. (i.e.: DE for germany or UK for united kingdom.public void setDocument(java.lang.String string)
string - sets the document textpublic void setShowMenuIcons(boolean b)
b - true if menu icons should be displayed, false otherwise.public void setShowViewSource(boolean b)
b - true if sourceview should be displayed, false otherwise.public void setLanguage(java.lang.String string)
string - sets the language code to use. (i.e.: de for germany or UK for united kingdom)public void setRawDocument(java.lang.String string)
string - sets the raw document textpublic void setStyleSheet(java.lang.String string)
string - sets the css stylesheet for the document.public void setStyleSheetFileList(java.lang.String[] strings)
strings - sets the css stylesheet files to use.public void setUrlStyleSheet(java.net.URL url)
url - sets the url to the stylesheet to use.public int getMode()
public java.util.Vector getCustomMenuItems()
public void setCustomMenuItems(java.util.Vector vector)
vector - 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)
menuItems - parses the top-level menu items to be shown from the given string.public void setShowToolbar(boolean b)
b - true if toolbar 1 is to be displayed.public void setShowToolbar2(boolean b)
b - true if toolbar 1 is to be displayed.public void setShowMenuBar(boolean b)
b - true if menubar should be displayed.public boolean isShowMenuBar()
public boolean isShowToolbar()
public boolean isShowToolbar2()
public void setImageDir(java.lang.String string)
string - path to image folderpublic void setFileDir(java.lang.String string)
string - path to file folderpublic java.lang.String getFileDir()
public java.lang.String getImageDir()
public void setTreePilotSystemID(java.lang.String string)
string - sets the treepilot system id.public java.lang.String getTreePilotSystemID()
public void setServletUrl(java.lang.String string)
string - 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()
public void setServletMode(java.lang.String newServletMode)
newServletMode - the current ServletMode (can be "cgi" or "java", case insensitive)public void setPostUrl(java.lang.String string)
string - set url to post content to for saving documents on the web.public java.lang.String getPostUrl()
public java.lang.String getServletMode()
public void setContentParameter(java.lang.String string)
string - sets the content parameter. (the document to edit as string value)public java.lang.String getContentParameter()
public void setOutputmode(java.lang.String string)
string - outputmode to set (can be "normal", "off" or "base64"public java.lang.String getOutputmode()
public void setKafenioParent(java.lang.Object parentApplet)
parentApplet - Parent of KafenioPanelpublic java.lang.Object getKafenioParent()
public java.util.Vector getCustomToolBar1()
public java.util.Vector getCustomToolBar2()
public void setCustomToolBar1(java.util.Vector vector)
vector - vector that contains all items as string for toolbar 1public void setCustomToolBar1(java.lang.String toolbarItems)
toolbarItems - string that contains all items as space separated list for toolbar 1public void setCustomToolBar2(java.util.Vector vector)
vector - vector that contains all items as string for toolbar 2public void setCustomToolBar2(java.lang.String toolbarItems)
toolbarItems - string that contains all items as space separated list for toolbar 2public java.lang.String toString()
public java.util.Vector parseToolbarItems(java.lang.String aString)
aString - the string to parse.
public java.awt.Color parseBgColor(java.lang.String bgColorString)
bgColorString - string that represents the color in RGB (i.e.: #FFFFFF for white.)
public void setProperty(java.lang.String name,
java.lang.String value)
name - name of the property (id)value - value of the property.public java.lang.String getProperty(java.lang.String name)
name - name of the property.
|
Kafenio.editor 0.8.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||