|
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.component.HTMLUtilities
Description: HTMLUtilities - Special Utility Functions For Kafenio Copyright (C) 2003 Rafael Cieplinski, modified by Howard Kistler
| Constructor Summary | |
HTMLUtilities(KafenioPanel newParent)
creates a new HTMLUtilities Object using the given value. |
|
| Method Summary | |
boolean |
checkParentsTag(javax.swing.text.html.HTML.Tag tag)
Method to check if the given tag is in the hierarchy above the current position or not. |
void |
delete()
|
javax.swing.text.html.HTML.Tag |
getHTMLTag(javax.swing.text.Element elem)
liefert den entsprechenden HTML.Tag zum Element zurück |
javax.swing.text.Element |
getListItemParent()
|
java.lang.String[] |
getUniString(int strings)
|
void |
insertListElement(java.lang.String content)
This method adds the given content as a list element. |
javax.swing.text.SimpleAttributeSet |
removeAttribute(javax.swing.text.SimpleAttributeSet sourceAS,
javax.swing.text.SimpleAttributeSet removeAS)
|
javax.swing.text.SimpleAttributeSet |
removeAttributeByKey(javax.swing.text.SimpleAttributeSet sourceAS,
java.lang.String removeKey)
|
void |
removeTag(javax.swing.text.Element element,
boolean closingTag)
Method to remove the given element using stringmanipulation in the source-pane. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTMLUtilities(KafenioPanel newParent)
newParent - a reference to an instance of the KafenioPanel class.| Method Detail |
public void insertListElement(java.lang.String content)
content - content to add to list
public void removeTag(javax.swing.text.Element element,
boolean closingTag)
element - an elementclosingTag - a closing tagpublic boolean checkParentsTag(javax.swing.text.html.HTML.Tag tag)
tag - HTML.Tag to search for.
public javax.swing.text.Element getListItemParent()
public javax.swing.text.SimpleAttributeSet removeAttributeByKey(javax.swing.text.SimpleAttributeSet sourceAS,
java.lang.String removeKey)
sourceAS - source AttributeSetremoveKey - remove key from attributeset
public javax.swing.text.SimpleAttributeSet removeAttribute(javax.swing.text.SimpleAttributeSet sourceAS,
javax.swing.text.SimpleAttributeSet removeAS)
sourceAS - source AttributeSetremoveAS - AttributeSet to remove
public javax.swing.text.html.HTML.Tag getHTMLTag(javax.swing.text.Element elem)
elem - element to get html tag for
public java.lang.String[] getUniString(int strings)
strings - number of strings to get.
public void delete()
throws javax.swing.text.BadLocationException,
java.io.IOException
javax.swing.text.BadLocationException - an exception
java.io.IOException - an exception
|
Kafenio.editor 0.8.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||