|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Style | |
com.sun.java.swing | Provides a set of "lightweight" (all-Java |
com.sun.java.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
com.sun.java.swing.text.html | Provides the class (HTMLEditorKit) and supporting classes for creating HTML text editors. |
Uses of Style in com.sun.java.swing |
Methods in com.sun.java.swing that return Style | |
Style | JTextPane.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
Style | JTextPane.getStyle(String nm)
Fetches a named non-null style previously added. |
Style | JTextPane.getLogicalStyle()
Fetches the logical style assigned to the paragraph represented by the current position of the caret, or null. |
Methods in com.sun.java.swing with parameters of type Style | |
Style | JTextPane.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
void | JTextPane.setLogicalStyle(Style s)
Sets the logical style to use for the paragraph at the current caret position. |
Uses of Style in com.sun.java.swing.text |
Classes in com.sun.java.swing.text that implement Style | |
StyleContext.NamedStyle
A collection of attributes, typically used to represent character and paragraph styles. |
Methods in com.sun.java.swing.text that return Style | |
Style | DefaultStyledDocument.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
Style | DefaultStyledDocument.getStyle(String nm)
Fetches a named style previously added. |
Style | DefaultStyledDocument.getLogicalStyle(int p)
Fetches the logical style assigned to the paragraph represented by the given position. |
Style | StyleContext.addStyle(String nm,
Style parent)
Adds a new style into the style hierarchy. |
Style | StyleContext.getStyle(String nm)
Fetches a named style previously added to the document |
Style | StyledDocument.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
Style | StyledDocument.getStyle(String nm)
Fetches a named style previously added. |
Style | StyledDocument.getLogicalStyle(int p)
Gets a logical style for a given position in a paragraph. |
Methods in com.sun.java.swing.text with parameters of type Style | |
Style | DefaultStyledDocument.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
void | DefaultStyledDocument.setLogicalStyle(int pos,
Style s)
Sets the logical style to use for the paragraph at the given position. |
Style | StyleContext.addStyle(String nm,
Style parent)
Adds a new style into the style hierarchy. |
Style | StyledDocument.addStyle(String nm,
Style parent)
Adds a new style into the logical style hierarchy. |
void | StyledDocument.setLogicalStyle(int pos,
Style s)
Sets the logical style to use for the paragraph at the given position. |
Constructors in com.sun.java.swing.text with parameters of type Style | |
StyleContext.NamedStyle.StyleContext.NamedStyle(String name,
Style parent)
Creates a new named style. |
|
StyleContext.NamedStyle.StyleContext.NamedStyle(Style parent)
Creates a new named style. |
Uses of Style in com.sun.java.swing.text.html |
Methods in com.sun.java.swing.text.html that return Style | |
Style | StyleSheet.getRule(HTML.Tag t,
Element e)
Fetch the style to use to render the given type of html tag. |
Style | StyleSheet.getRule(String selector)
Fetch the rule that best matches the selector given in string form. |
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |