C
- component typeU
- component UI typeD
- decoration typepublic class TextAreaPainter<C extends JTextArea,U extends WTextAreaUI,D extends IDecoration<C,D>> extends AbstractTextAreaPainter<C,U,D> implements ITextAreaPainter<C,U>
JTextArea
component.
It is used as WTextAreaUI
default painter.documentChangeBehavior, hideInputPromptOnFocus, inputPromptFont, inputPromptForeground, inputPromptHorizontalPosition, inputPromptOnlyWhenEditable, inputPromptVerticalPosition
ancestor, containerListener, current, DECORATION_BORDER_PROPERTY, DECORATION_STATES_PROPERTY, decorationCache, decorations, focused, focusStateTracker, hierarchyTracker, hover, hoverStateTracker, inFocusedParent, inFocusedParentAncestorListener, inFocusedParentTracker, inHoveredParent, inHoveredParentAncestorListener, inHoveredParentTracker, neighboursTracker, stateDecorationCache, states
component, installed, ltr, propertyChangeListener, sectionPainters, ui
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
Constructor and Description |
---|
TextAreaPainter() |
Modifier and Type | Method and Description |
---|---|
String |
getInputPrompt()
Returns input prompt text.
|
getDecorationStates, getEditorRect, installDocumentChangeListener, installPropertiesAndListeners, isInputPromptVisible, paintContent, paintInputPrompt, propertyChanged, uninstallDocumentChangeListener, uninstallPropertiesAndListeners
afterInstall, afterUninstall, beforeUninstall, childrenChanged, collectDecorationStates, contains, deactivateLastDecoration, focusChanged, getBaseline, getBaselineResizeBehavior, getBorder, getDecoration, getDecorations, getDecorationsKey, getPreferredSize, hierarchyChanged, hoverChanged, installBorderListeners, installChildrenListeners, installFocusListeners, installHoverListeners, installInFocusedParentListeners, installInHoveredParentListeners, isDecorationAvailable, isEnabled, isFocused, isHover, isInFocusedParent, isInHoveredParent, isOpaque, isOpaqueDecorated, isOpaqueUndecorated, isPlainBackgroundRequired, orientationChange, paint, provideShape, uninstallBorderListeners, uninstallChildrenListeners, uninstallFocusListeners, uninstallHoverListeners, uninstallInFocusedParentListeners, uninstallInHoveredParentListeners, updateDecorationState, updateFocusListeners, updateHoverListeners, updateInFocusedParent, updateInHoveredParent, usesContainerView, usesFocusedView, usesHierarchyBasedView, usesHoverView, usesInFocusedParentView, usesInHoveredParentView, usesState, usesState
asList, beforeInstall, borderChange, getCompleteBorder, getInstalledSectionPainters, getSectionPainters, install, installPropertyChangeListener, installSectionPainter, installSectionPainters, isInstalled, isSectionPainter, isSettingsUpdateAllowed, paintSection, repaint, repaint, repaint, revalidate, saveOrientation, uninstall, uninstallPropertyChangeListener, uninstallSectionPainter, uninstallSectionPainters, updateAll, updateBorder, updateOpacity, updateOrientation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isInputPromptVisible
contains, getBaseline, getBaselineResizeBehavior, getPreferredSize, install, isInstalled, isOpaque, paint, uninstall
public String getInputPrompt()
IAbstractTextEditorPainter
getInputPrompt
in interface IAbstractTextEditorPainter<C extends JTextArea,U extends WTextAreaUI>
Copyright © 2020. All rights reserved.