Package com.iizigo.prop
Class PasteFeedback.DropValidationFeedback
- java.lang.Object
- com.iizigo.prop.PasteFeedback
- com.iizigo.prop.PasteFeedback.DropValidationFeedback
- Enclosing class:
- PasteFeedback
public static final class PasteFeedback.DropValidationFeedback extends PasteFeedback
Specialized class for validation "paste" where drop could take place in multiple places, e.g. in target, before target or after target.
Nested Class Summary
Nested classes/interfaces inherited from class com.iizigo.prop.PasteFeedback
PasteFeedback.DropValidationFeedback
Field Summary
Fields Modifier and Type Field Description int
options
Valid options for paste.Fields inherited from class com.iizigo.prop.PasteFeedback
ERR_ELEMENT_READ_ONLY, ERR_FILE_NOT_LOADED, ERR_INVALID_OPERATION, ERR_TARGET_DOES_NOT_SUPPORT_OPERATION, ERR_TARGET_READ_ONLY, feedBack, FEEDBACK_CANCELED_BY_USER, FEEDBACK_LINK_WITH_TARGET, FEEDBACK_PASTE_AFTER_TARGET_IN_PARENT, FEEDBACK_PASTE_BEFORE_TARGET_IN_PARENT, FEEDBACK_PASTE_IN_TARGET, FEEDBACK_PASTE_IN_TARGET_FOLDER, FEEDBACK_VALID_DROPS, message, OK_CANCELED_BY_USER, OK_LINK_WITH_TARGET, OK_PASTE_AFTER_TARGET_IN_PARENT, OK_PASTE_BEFORE_TARGET_IN_PARENT, OK_PASTE_IN_TARGET, OK_PASTE_IN_TARGET_FOLDER, status
Constructor Summary
Constructors Constructor Description DropValidationFeedback(int options)
Creates a drop validation feedback with possible drop options, a bit mask that must consist of at least one of the values: DND.FEEDBACK_SELECT = The item under the cursor is selected; applies to table and trees.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
paramString()
Param-string is overridden in super classes.Methods inherited from class com.iizigo.prop.PasteFeedback
getStatus, isOK, toString
Constructor Detail
DropValidationFeedback
public DropValidationFeedback(int options)
Creates a drop validation feedback with possible drop options, a bit mask that must consist of at least one of the values:- DND.FEEDBACK_SELECT = The item under the cursor is selected; applies to table and trees.
- DND.FEEDBACK_INSERT_BEFORE = An insertion mark is shown before the item under the cursor; applies to trees.
- DND.FEEDBACK_INSERT_AFTER = An insertion mark is shown after the item under the cursor; applies to trees.
- Parameters:
options
- One or more of the DND.* values FEEDBACK_SELECT, FEEDBACK_INSERT_BEFORE and/or FEEDBACK_INSERT_AFTER.
Method Detail
paramString
protected java.lang.String paramString()
Param-string is overridden in super classes.- Overrides:
paramString
in classPasteFeedback