public class ImageSelectionBehaviourRule extends Object implements ValidationRule
| Constructor and Description |
|---|
ImageSelectionBehaviourRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areValid(RichTextArea textArea)
Verifies if the underlying features of this rule should be enabled considering the current state of the given
text area.
|
String[] |
getFeatures() |
public boolean areValid(RichTextArea textArea)
areValid in interface ValidationRuletextArea - The text area whose current state should be considered.ValidationRule.areValid(RichTextArea)public String[] getFeatures()
getFeatures in interface ValidationRuleValidationRule.getFeatures()Copyright © 2004–2014 XWiki. All rights reserved.