|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
org.jdesktop.jxlayer.plaf.LayerUI<V>
org.jdesktop.jxlayer.plaf.AbstractLayerUI<JComponent>
jaxx.runtime.validator.swing.ui.AbstractBeanValidatorUI
jaxx.runtime.validator.swing.ui.TranslucentValidationUI
public class TranslucentValidationUI
An implementation of AbstractBeanValidatorUI which paints a
translucent backgroud color (green for ok, red for error, yellow for
warning).
| Field Summary | |
|---|---|
protected Color |
errorHightlight
|
protected Color |
fatalHightlight
|
protected Color |
infoHightlight
|
protected Color |
warningHightlight
|
| Fields inherited from class jaxx.runtime.validator.swing.ui.AbstractBeanValidatorUI |
|---|
field |
| Constructor Summary | |
|---|---|
TranslucentValidationUI(BeanValidatorField<?> field)
|
|
| Method Summary | |
|---|---|
protected void |
paintLayer(Graphics2D g2,
org.jdesktop.jxlayer.JXLayer<JComponent> l)
|
| Methods inherited from class jaxx.runtime.validator.swing.ui.AbstractBeanValidatorUI |
|---|
onFieldChanged |
| Methods inherited from class org.jdesktop.jxlayer.plaf.AbstractLayerUI |
|---|
addLayerItemListener, addPropertyChangeListener, addPropertyChangeListener, configureGraphics, eventDispatched, fireLayerItemChanged, fireLayerItemChanged, firePropertyChange, getClip, getComposite, getLayerEventMask, getLayerItemListeners, getPropertyChangeListeners, getPropertyChangeListeners, getRenderingHints, getTransform, installUI, isAWTEventListenerEnabled, isDirty, isEnabled, paint, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, registerAWTEventListener, removeLayerItemListener, removePropertyChangeListener, removePropertyChangeListener, setDirty, setEnabled, setLayerEventMask, uninstallUI, unregisterAWTEventListener |
| Methods inherited from class org.jdesktop.jxlayer.plaf.LayerUI |
|---|
getAccessibleChild, getAccessibleChildrenCount, getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, isEventEnabled, update, updateUI |
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, createUI, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Color fatalHightlight
protected Color errorHightlight
protected Color warningHightlight
protected Color infoHightlight
| Constructor Detail |
|---|
public TranslucentValidationUI(BeanValidatorField<?> field)
| Method Detail |
|---|
protected void paintLayer(Graphics2D g2,
org.jdesktop.jxlayer.JXLayer<JComponent> l)
paintLayer in class org.jdesktop.jxlayer.plaf.AbstractLayerUI<JComponent>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||