|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
jpicedt.graphic.toolkit.PEAction
jpicedt.JPicEdt.ContentTypeAction
public static class JPicEdt.ContentTypeAction
Set the content-type of the currently active board
Field Summary |
---|
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
JPicEdt.ContentTypeAction(int contentTypeIndex)
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
This is a default implementation of the "actionPerformed" method suited for undoable actions : we first call "beginUndoableUpdate" with "actionName" as the presentation name, then delegate to "undoableActionPerformed", finally mark the undoable-update as ended. |
Methods inherited from class jpicedt.graphic.toolkit.PEAction |
---|
getCanvas, getDrawing, getEditorKit, getSelectedObject, setAttribute, undoableActionPerformed |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JPicEdt.ContentTypeAction(int contentTypeIndex)
contentTypeIndex
- index in array returned by MiscUtilities.getAvailableContentTypes()Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
PEAction
Action that don't want to be undoable should simply override this method as usual.
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class PEAction
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |