|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.pilots.html4.CSSBox
ice.pilots.html4.ObjectBox
| Field Summary | |
protected int |
_startingCharOffset
The index of the starting character offset for this passage. |
protected int |
_startingSentenceOffset
|
protected int |
_startingWordOffset
|
protected int |
boxId
|
protected ice.pilots.html4.CSSLayout |
cssLayout
|
protected DElement |
element
|
protected static int |
idCounter
|
protected ice.pilots.html4.CSSBox |
next
|
protected ice.pilots.html4.CSSBox |
parentBox
|
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Method Summary | |
boolean |
checkIfVisible()
Check to see if the ObjectBox should be visible. |
void |
clearHighlights()
Clear all highlight ranges on a given node. |
void |
findAbsolutePosition(Point p)
Find the absolute position of the top left corner of the content box. |
protected void |
findAbsolutePosition(Rectangle rec)
Find the absolutePostion of this object box. |
protected void |
findAbsPos(Point p)
Return the absolute position of the the box inside the document. |
ScrollBox |
getAncestorScrollBox()
Used to find the nearest ancestor ScrollBox in which this ObjectBox lives. |
Color |
getBackgroundColor()
|
CSSAttribs |
getCSSAttribs()
|
ObjectPainter |
getObjectPainter()
|
ScrollBox |
getScrollBox()
If this ObjectBox represents a Scroller, return the corresponding ScrollBox. |
void |
highlightArea(int startPosition,
int endPosition)
Define a highlight range on a given node. |
boolean |
imageUpdate(Image img,
int info,
int x,
int y,
int w,
int h)
|
void |
invalidate()
|
protected void |
paintBackground(Graphics g,
Rectangle clip_r,
int aX,
int aY,
int aW,
int aH,
int vadjust)
Paint the background color and/or the background image of this box. |
protected void |
paintBorders(Graphics g,
Rectangle r,
int x,
int y,
int w,
int h,
boolean isTop,
boolean isBottom,
boolean isLeft,
boolean isRight)
It is assumed that if isTop==true then isTop has some style and has width. |
void |
reqReflow()
|
void |
reqRepaint()
|
protected boolean |
setVisibility(short b)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static int idCounter
protected int boxId
protected ice.pilots.html4.CSSLayout cssLayout
protected ice.pilots.html4.CSSBox parentBox
protected ice.pilots.html4.CSSBox next
protected DElement element
protected int _startingCharOffset
protected int _startingWordOffset
protected int _startingSentenceOffset
| Method Detail |
public boolean checkIfVisible()
public Color getBackgroundColor()
public void findAbsolutePosition(Point p)
p - The point argument to fill inpublic void invalidate()
public void reqReflow()
public void reqRepaint()
public ScrollBox getAncestorScrollBox()
public ScrollBox getScrollBox()
public ObjectPainter getObjectPainter()
protected void findAbsolutePosition(Rectangle rec)
rec - shape of object box.protected final boolean setVisibility(short b)
public CSSAttribs getCSSAttribs()
public void highlightArea(int startPosition,
int endPosition)
highlightArea in interface HighlightListenerstartPosition - Starting character offset for highlight range, or zero.endPosition - Ending character offset for highlight range, or zero.public void clearHighlights()
clearHighlights in interface HighlightListenerprotected void findAbsPos(Point p)
p - position will be writen to this variable.public String toString()
protected void paintBackground(Graphics g,
Rectangle clip_r,
int aX,
int aY,
int aW,
int aH,
int vadjust)
g - Graphics context in which to paint.clip_r - Clipping bounds of Graphics contextaX - X position of top left corneraY - Y position of top left corneraW - Width of area to paintaH - Height of area to paintvadjust - An adjustment factor to apply to a background image.
public boolean imageUpdate(Image img,
int info,
int x,
int y,
int w,
int h)
imageUpdate in interface ImageObserver
protected void paintBorders(Graphics g,
Rectangle r,
int x,
int y,
int w,
int h,
boolean isTop,
boolean isBottom,
boolean isLeft,
boolean isRight)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||