DEFAULT_STYLE, style
Modifier | Constructor and Description |
---|---|
protected |
TextLineBox() |
protected |
TextLineBox(Style style) |
Modifier and Type | Method and Description |
---|---|
void |
refresh()
Requests this gadget to relayout and repaint itself.
|
drawBorder, drawBox, drawEmptyContent, drawEmptyTextContent, getContentSizeConstraints, getEmptyContentSize, getEmptyContentSize, getMarginBottom, getMarginTop, getStyle, hasDynamicVerticalMargins, layout, layoutContent, paint, paintContent, setStyle
focusGained, focusLost, gadgetToPanel, gadgetToRoot, getAncestors, getBounds, getBounds, getCursor, getEventDispatcher, getFontMetrics, getGadgetPanel, getGraphics, getLocation, getLocation, getNonBreakableVerticalRanges, getRoot, getSize, getSize, getToolkit, getToolTip, grabsMouseButton, handleAppEvent, handleKeyEvent, handleMouseEvent, hasFocus, isAppEventHandler, layout, makeRectangleVisible, makeRectangleVisible, panelToGadget, print, relayout, relayout, repaint, repaint, requestFocus
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFirstBaseLine, getLastBaseLine
protected TextLineBox()
protected TextLineBox(Style style)
public void refresh()
Gadget
This default implementation assumes that if, after the relayout, this gadget has not changed its width and height, a repaint is sufficient and its parent doesn't need to be notified.