http://www.jpicedt.org

jpicedt
Class JPicEdt.ViewLaTeXFileAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jpicedt.graphic.toolkit.PEAbstractAction<Element>
          extended by jpicedt.graphic.toolkit.PEAction
              extended by jpicedt.JPicEdt.ViewLaTeXFileAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
JPicEdt

public static class JPicEdt.ViewLaTeXFileAction
extends PEAction

Display the LaTeX content of the active board in a Dialog Box

Since:
PicEdt 1.2.1
See Also:
Serialized Form

Field Summary
static String KEY
           
 
Fields inherited from class jpicedt.graphic.toolkit.PEAbstractAction
targetElement
 
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.ViewLaTeXFileAction()
          display the whole LaTeX file in a Dialog Box
 
Method Summary
 void actionPerformed(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
getIterator, setAttribute
 
Methods inherited from class jpicedt.graphic.toolkit.PEAbstractAction
getCanvas, getDrawing, getEditorKit, getSelectedObject, setSelectedObject, 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
 

Field Detail

KEY

public static final String KEY
See Also:
Constant Field Values
Constructor Detail

JPicEdt.ViewLaTeXFileAction

public JPicEdt.ViewLaTeXFileAction()
display the whole LaTeX file in a Dialog Box

Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Description copied from class: PEAbstractAction
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.

Action that don't want to be undoable should simply override this method as usual.

Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class PEAbstractAction<Element>

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org