javax.swing.text
public interface StyledDocument extends Document
Method Summary | |
---|---|
Style | addStyle(String nm, Style parent)
addStyle |
Color | getBackground(AttributeSet set)
getBackground |
Element | getCharacterElement(int position)
getCharacterElement |
Font | getFont(AttributeSet set)
getFont |
Color | getForeground(AttributeSet set)
getForeground |
Style | getLogicalStyle(int position)
getLogicalStyle |
Element | getParagraphElement(int position)
getParagraphElement |
Style | getStyle(String nm)
getStyle |
void | removeStyle(String nm)
removeStyle |
void | setCharacterAttributes(int offset, int length, AttributeSet set, boolean replace)
setCharacterAttributes |
void | setLogicalStyle(int position, Style style)
setLogicalStyle |
void | setParagraphAttributes(int offset, int length, AttributeSet set, boolean replace)
setParagraphAttributes |
Parameters: nm TODO parent TODO
UNKNOWN: Style
Parameters: set TODO
UNKNOWN: Color
Parameters: position TODO
UNKNOWN: Element
Parameters: set TODO
UNKNOWN: Font
Parameters: set TODO
UNKNOWN: Color
Parameters: position TODO
UNKNOWN: Style
Parameters: position TODO
UNKNOWN: Element
Parameters: nm TODO
UNKNOWN: Style
Parameters: nm TODO
Parameters: offset TODO length TODO set TODO replace TODO
Parameters: position TODO style TODO
Parameters: offset TODO length TODO set TODO replace TODO