Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.lobobrowser.html.style.StyleSheetRenderState
Field Summary | |
protected static BackgroundInfo | |
protected static Color | |
protected static Insets | |
protected HTMLDocumentImpl | |
protected HTMLElementImpl | |
protected Integer | |
protected java.awt.Insets | |
protected java.awt.Insets | |
protected RenderState |
Fields inherited from interface org.lobobrowser.html.style.RenderState | |
DISPLAY_BLOCK , DISPLAY_INLINE , DISPLAY_LIST_ITEM , DISPLAY_NONE , DISPLAY_TABLE , DISPLAY_TABLE_CELL , DISPLAY_TABLE_ROW , MASK_TEXTDECORATION_BLINK , MASK_TEXTDECORATION_LINE_THROUGH , MASK_TEXTDECORATION_OVERLINE , MASK_TEXTDECORATION_UNDERLINE , WS_NORMAL , WS_NOWRAP , WS_PRE |
Constructor Summary | |
| |
|
Method Summary | |
int | |
int | |
Color | |
BackgroundInfo | |
int | |
Color |
|
int |
|
protected CSS2PropertiesImpl | |
protected int | |
int | |
Font |
|
int | |
FontMetrics | |
java.awt.Insets | |
Color | |
java.awt.Insets | |
RenderState | |
Color | |
int | |
int |
|
String | |
int | |
org.lobobrowser.html.style.WordInfo |
|
int |
|
void | |
boolean | |
void |
|
void |
|
void |
|
String |
|
protected static final Color INVALID_COLOR
protected static final Insets INVALID_INSETS
protected Integer iWhiteSpace
protected java.awt.Insets marginInsets
protected java.awt.Insets paddingInsets
public StyleSheetRenderState(RenderState prevRenderState, HTMLElementImpl element)
public Color getBackgroundColor()
- Specified by:
- getBackgroundColor in interface RenderState
public BackgroundInfo getBackgroundInfo()
- Specified by:
- getBackgroundInfo in interface RenderState
public int getCount(String counter, int nesting)
- Specified by:
- getCount in interface RenderState
protected int getDefaultDisplay()
public final FontMetrics getFontMetrics()
- Specified by:
- getFontMetrics in interface RenderState
public java.awt.Insets getMarginInsets()
- Specified by:
- getMarginInsets in interface RenderState
public java.awt.Insets getPaddingInsets()
- Specified by:
- getPaddingInsets in interface RenderState
public RenderState getPreviousRenderState()
- Specified by:
- getPreviousRenderState in interface RenderState
public Color getTextBackgroundColor()
- Specified by:
- getTextBackgroundColor in interface RenderState
public int getTextDecorationMask()
- Specified by:
- getTextDecorationMask in interface RenderState
public int getTextIndent(int availSize)
- Specified by:
- getTextIndent in interface RenderState
public String getTextIndentText()
- Specified by:
- getTextIndentText in interface RenderState
public final org.lobobrowser.html.style.WordInfo getWordInfo(String word)
- Specified by:
- getWordInfo in interface RenderState
public int incrementCount(String counter, int nesting)
- Specified by:
- incrementCount in interface RenderState
public boolean isHighlight()
- Specified by:
- isHighlight in interface RenderState
- Returns:
- Returns the iHighlight.
public void repaint()
public void resetCount(String counter, int nesting, int value)
- Specified by:
- resetCount in interface RenderState
public void setHighlight(boolean highlight)
- Specified by:
- setHighlight in interface RenderState
- Parameters:
highlight
- The iHighlight to set.
public String toString()