com.inet.html.css
Class Styles.StyleSheetEntry

java.lang.Object
  extended by com.inet.html.css.Styles.StyleSheetEntry
Enclosing class:
Styles

public static class Styles.StyleSheetEntry
extends java.lang.Object

Simple data container for style sheet entries


Constructor Summary
Styles.StyleSheetEntry(javax.swing.text.AttributeSet atts, java.lang.String selector)
          Container constructor, sets all fields
 
Method Summary
 void addSelector(Selector selector)
          Adds a compiled selector
 javax.swing.text.AttributeSet getAttributess()
          Returns the attribute set defined by this selector
 java.lang.String getSelector()
          Returns the selector string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Styles.StyleSheetEntry

public Styles.StyleSheetEntry(javax.swing.text.AttributeSet atts,
                              java.lang.String selector)
Container constructor, sets all fields

Parameters:
atts - the attributes defined by the entry
selector - the selector-string, may describe several selectors
Method Detail

getAttributess

public javax.swing.text.AttributeSet getAttributess()
Returns the attribute set defined by this selector

Returns:
the attribute set defined by this selector

getSelector

public java.lang.String getSelector()
Returns the selector string

Returns:
the selector string

addSelector

public void addSelector(Selector selector)
Adds a compiled selector

Parameters:
selector - the compiled selector