de.xeinfach.kafenio.interfaces
Interface KafenioPanelInterface
- All Superinterfaces:
- java.awt.event.ActionListener, javax.swing.event.DocumentListener, java.util.EventListener, java.awt.event.KeyListener
- All Known Implementing Classes:
- KafenioPanel
- public interface KafenioPanelInterface
- extends java.awt.event.ActionListener, java.awt.event.KeyListener, javax.swing.event.DocumentListener
Description: Main application class that creates a Java wysiwyg editor component
- Author:
- Karsten Pawlik, Howard Kistler
| Methods inherited from interface javax.swing.event.DocumentListener |
changedUpdate, insertUpdate, removeUpdate |
getJMenuBar
public javax.swing.JMenuBar getJMenuBar()
getJToolBar1
public javax.swing.JToolBar getJToolBar1()
getJToolBar2
public javax.swing.JToolBar getJToolBar2()
setDocumentConfirmed
public void setDocumentConfirmed(boolean documentConfirmed)
getDocumentConfirmed
public boolean getDocumentConfirmed()
getTActions
public java.util.Hashtable getTActions()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ae)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
detachFrame
public void detachFrame()
keyTyped
public void keyTyped(java.awt.event.KeyEvent ke)
- Specified by:
keyTyped in interface java.awt.event.KeyListener
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed in interface java.awt.event.KeyListener
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
- Specified by:
keyReleased in interface java.awt.event.KeyListener
handleDocumentChange
public void handleDocumentChange(javax.swing.event.DocumentEvent de)
getHTMLScrollPane
public javax.swing.JScrollPane getHTMLScrollPane()
getSrcScrollPane
public javax.swing.JScrollPane getSrcScrollPane()
registerDocumentStyles
public void registerDocumentStyles()
manageListElement
public void manageListElement(javax.swing.text.Element element)
insertFile
public java.lang.String insertFile()
serializeOut
public void serializeOut(javax.swing.text.html.HTMLDocument doc)
throws java.io.IOException
- Throws:
java.io.IOException
serializeIn
public void serializeIn()
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getTextPane
public javax.swing.JTextPane getTextPane()
getSourcePane
public javax.swing.JTextPane getSourcePane()
getFrame
public java.awt.Frame getFrame()
getAppName
public java.lang.String getAppName()
getHTMLEditorKit
public javax.swing.text.html.HTMLEditorKit getHTMLEditorKit()
getKafenioParent
public java.awt.Container getKafenioParent()
setKafenioParent
public void setKafenioParent(java.awt.Window newApplet)
getDocumentText
public java.lang.String getDocumentText()
postContentBody
public boolean postContentBody()
getDocumentBody
public java.lang.String getDocumentBody()
setDocumentText
public void setDocumentText(java.lang.String sText)
purgeUndos
public void purgeUndos()
refreshOnUpdate
public void refreshOnUpdate()
dispose
public void dispose()
getKafenioIcon
public javax.swing.ImageIcon getKafenioIcon(java.lang.String iconName)
getMenuIcon
public javax.swing.ImageIcon getMenuIcon(java.lang.String iconName)
toggleSourceWindow
public void toggleSourceWindow()
getCaretPosition
public int getCaretPosition()
setCaretPosition
public void setCaretPosition(int newPositon)
getSysClipboard
public java.awt.datatransfer.Clipboard getSysClipboard()
getTranslation
public java.lang.String getTranslation(java.lang.String stringToTranslate)
quitApp
public void quitApp()
Copyright © 2003-2004 by Karsten Pawlik. All Rights Reserved. Published under the Lesser General Public License (LGPL)