org.dvb.ui
Interface TextOverflowListener
- All Superinterfaces:
- java.util.EventListener
- public interface TextOverflowListener
- extends java.util.EventListener
The TextOverflowListener is an interface that an application
may implement and register in the DVBTextLayoutManager.
This listener will be notified if the text string does not fit within the
component as a result of a call to the render method.
It is the rendering process which triggers this event to be dispatched.
The timing of this is
implementation dependent.
Method Summary |
void |
notifyTextOverflow(java.lang.String markedUpString,
HVisible v,
boolean overflowedHorizontally,
boolean overflowedVertically)
This method is called by the DVBTextLayoutManager
if the text does not fit within the component |
notifyTextOverflow
public void notifyTextOverflow(java.lang.String markedUpString,
HVisible v,
boolean overflowedHorizontally,
boolean overflowedVertically)
- This method is called by the DVBTextLayoutManager
if the text does not fit within the component
- Parameters:
markedUpString
- the string that was successfully rendered within the componentv
- the HVisible object that was being renderedoverflowedHorizontally
- true if the text overflowed the bounds of
the component in the horizontal
direction; otherwise falseoverflowedVertically
- true if the text overflowed the bounds of
the component in the vertical direction;
otherwise false