ValidationInfo

data class ValidationInfo(    val message: String,     val component: JComponent? = null,     val quickFix: Runnable? = null)

Carries information on why a component has invalid input.

Based on com.intellij.openapi.ui.ValidationInfo and com.intellij.openapi.options.ConfigurationException.

Constructors

Link copied to clipboard
fun ValidationInfo(    message: String,     component: JComponent? = null,     quickFix: Runnable? = null)

Properties

Link copied to clipboard
val component: JComponent? = null

the component that is not valid

Link copied to clipboard
val message: String

the message explaining why the component is not valid

Link copied to clipboard
val quickFix: Runnable? = null

a runnable that can be executed to make the component valid

Sources

Link copied to clipboard