public class VetoablePropertyChangeEvent extends PropertyChangeEvent
ActionEvent.Type
Constructor and Description |
---|
VetoablePropertyChangeEvent(Entity source,
Property prop,
Object oldVal,
Object newVal) |
Modifier and Type | Method and Description |
---|---|
String |
getReason() |
boolean |
isVetoed() |
void |
veto(String reason) |
getNewValue, getOldValue, getProperty
consume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDrag
Copyright © 2021. All Rights Reserved.