public interface IIndicatorComp
ILabel) to display the content validation result.IIndicatorTextField,
IIndicatorTextArea| Modifier and Type | Method and Description |
|---|---|
javax.swing.JComponent |
asComponent()
Casts this instance to
JComponent. |
void |
configureIndicator(javax.swing.Icon icon,
java.lang.String message)
Configures the indicator label.
|
ILabel |
getIndicator()
Returns the indicator label.
|
void |
setAccepted(java.lang.String message)
Changes the icon of the indicator to the accepted icon meaning: content is valid and accepted.
|
void |
setEmpty(java.lang.String message)
Changes the icon of the indicator to the empty icon meaning: no content is entered.
|
void |
setError(java.lang.String message)
Changes the icon of the indicator to the error icon meaning: the content is invalid.
|
void |
setNotAccepted(java.lang.String message)
Changes the icon of the indicator to the not accepted icon: content is valid but not accepted.
|
javax.swing.JComponent asComponent()
JComponent.this as a JComponentILabel getIndicator()
void setEmpty(java.lang.String message)
message - message to be set as tool tip text for the indicator labelvoid setAccepted(java.lang.String message)
message - message to be set as tool tip text for the indicator labelvoid setNotAccepted(java.lang.String message)
message - message to be set as tool tip text for the indicator labelvoid setError(java.lang.String message)
message - message to be set as tool tip text for the indicator labelvoid configureIndicator(javax.swing.Icon icon,
java.lang.String message)
icon - icon to be set for the indicator labelmessage - message to be set as tool tip text for the indicator label
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.