|
org.openide.windows 6.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface CloneableOpenSupport.Env
Abstract interface that is used by CloneableOpenSupport to talk to outside world.
Field Summary | |
---|---|
static String |
PROP_MODIFIED
that is fired when the objects wants to mark itself modified or not modified. |
static String |
PROP_VALID
that is fired when the objects wants to mark itself as invalid, so all components should be closed. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds property listener. |
void |
addVetoableChangeListener(VetoableChangeListener l)
Adds veto listener. |
CloneableOpenSupport |
findCloneableOpenSupport()
Method that allows environment to find its cloneable open support. |
boolean |
isModified()
Test whether the object is modified or not. |
boolean |
isValid()
Test whether the support is in valid state or not. |
void |
markModified()
Support for marking the environement modified. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes property listener. |
void |
removeVetoableChangeListener(VetoableChangeListener l)
Removes veto listener. |
void |
unmarkModified()
Reverse method that can be called to make the environment unmodified. |
Field Detail |
---|
static final String PROP_VALID
static final String PROP_MODIFIED
Method Detail |
---|
void addPropertyChangeListener(PropertyChangeListener l)
void removePropertyChangeListener(PropertyChangeListener l)
void addVetoableChangeListener(VetoableChangeListener l)
void removeVetoableChangeListener(VetoableChangeListener l)
boolean isValid()
boolean isModified()
void markModified() throws IOException
IOException
- if the environment cannot be marked modified
(for example when the file is readonly), when such exception
is the support should discard all previous changesvoid unmarkModified()
CloneableOpenSupport findCloneableOpenSupport()
|
org.openide.windows 6.5.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |