Package com.jidesoft.swing
Interface TabEditingValidator
public interface TabEditingValidator
-
Method Summary
Modifier and TypeMethodDescriptionboolean
alertIfInvalid
(int tabIndex, String tabText) This is called before editStop.boolean
This should validate that the following value would pass is canStopEdit is called.boolean
shouldStartEdit
(int tabIndex, MouseEvent event) This is called to determine if the follow mouse event should start editing for the give tabIndex.
-
Method Details
-
shouldStartEdit
This is called to determine if the follow mouse event should start editing for the give tabIndex. -
isValid
This should validate that the following value would pass is canStopEdit is called. No feedback should be given for this call. This is used when destroying a tab it will either call commitedit or cancel -
alertIfInvalid
This is called before editStop. If this returns false then the editing will continue. It is the responsibility of the implementation to give any feedback.
-