|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The aim of a TextOverflowListener is to be notified if a text string won't fit into a component during an attempt to render it.
SophisticatedTextLayoutManager
Method Summary | |
void |
notifyTextOverflow(String text,
ViewOnlyComponent component,
boolean overflowHorizontal,
boolean overflowVertical)
This method is called by the SophisticatedTextLayoutManager if a text string won't fit into
a component during an attempt to render it. |
Method Detail |
public void notifyTextOverflow(String text, ViewOnlyComponent component, boolean overflowHorizontal, boolean overflowVertical)
SophisticatedTextLayoutManager
if a text string won't fit into
a component during an attempt to render it.
text
- the string to be renderedcomponent
- the ViewOnlyComponent
into which the rendering attempt has taken placeoverflowHorizontal
- true
if the text has overflowed horizontally;
otherwise false
overflowVertical
- true
if the text has overflowed vertically;
otherwise false
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |