ValidationInfo

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

Carries information on why a component has invalid input.

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

Constructors

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

Properties

component
Link copied to clipboard
val component: JComponent? = null
the component that is not valid
message
Link copied to clipboard
val message: String
the message explaining why the component is not valid
quickFix
Link copied to clipboard
val quickFix: Runnable? = null
a runnable that can be executed to make the component valid

Sources

jvm source
Link copied to clipboard