|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lightdev.app.shtm.SyntaxPane.RegExStyle
public class SyntaxPane.RegExStyle
convenience class associating a pattern with a set of attributes
Constructor Summary | |
---|---|
SyntaxPane.RegExStyle(java.util.regex.Pattern p,
javax.swing.text.AttributeSet a)
construct a RegExStyle instance |
Method Summary | |
---|---|
java.util.regex.Pattern |
getPattern()
get the Pattern this style is to be applied to |
javax.swing.text.AttributeSet |
getStyle()
get the attributes making up this style |
void |
setPattern(java.util.regex.Pattern p)
set the Pattern to apply a given set of attributes to |
void |
setStyle(javax.swing.text.AttributeSet a)
set the set of attributes to apply to a given Pattern |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyntaxPane.RegExStyle(java.util.regex.Pattern p, javax.swing.text.AttributeSet a)
RegExStyle
instance
p
- the Pattern
to apply this style toa
- the attributes making up this styleMethod Detail |
---|
public java.util.regex.Pattern getPattern()
Pattern
this style is to be applied to
public javax.swing.text.AttributeSet getStyle()
public void setPattern(java.util.regex.Pattern p)
p
- the Patternpublic void setStyle(javax.swing.text.AttributeSet a)
a
- the set of attributes to use
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |