TextOverflowListener

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.dvb.ui
Interface TextOverflowListener

All Superinterfaces:
  EventListener

    public interface TextOverflowListener

extends 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(String markedUpString, HVisible v, boolean overflowedHorizontally, boolean overflowedVertically)` This method is called by the DVBTextLayoutManager if the text does not fit within the component

Method Detail

### notifyTextOverflow

    void notifyTextOverflow(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 component
    `v` - the HVisible object that was being rendered
    `overflowedHorizontally` - true if the text overflowed the bounds of the component in the horizontal direction; otherwise false
    `overflowedVertically` - true if the text overflowed the bounds of the component in the vertical direction; otherwise false

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD