public class TranslucentValidationUI extends AbstractBeanValidatorUI
AbstractBeanValidatorUI which paints a
translucent backgroud color (green for ok, red for error, yellow for
warning).fields, scope| Constructor and Description |
|---|
TranslucentValidationUI(Collection<String> fields) |
TranslucentValidationUI(String field) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
paintLayer(Graphics2D g2,
org.jdesktop.jxlayer.JXLayer<? extends JComponent> l) |
getHighestScope, getScope, onFieldChangedconfigureGraphics, eventDispatched, getClip, getComposite, getLayerEventMask, getRenderingHints, getTransform, handlePropertyChangeEvent, installUI, isDirty, paint, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, setDirty, uninstallUIaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getPreferredScrollableViewportSize, getPropertyChangeListeners, getPropertyChangeListeners, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, removePropertyChangeListener, removePropertyChangeListener, updateUIcontains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, updatepublic TranslucentValidationUI(String field)
public TranslucentValidationUI(Collection<String> fields)
protected void paintLayer(Graphics2D g2, org.jdesktop.jxlayer.JXLayer<? extends JComponent> l)
paintLayer in class org.jdesktop.jxlayer.plaf.AbstractLayerUI<JComponent>Copyright © 2008–2020 Ultreia.io. All rights reserved.