|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.ide.common.TextPrinter
org.acm.seguin.ide.jbuilder.PrintAction
public class PrintAction
Pretty printer action button
Field Summary |
---|
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 | |
---|---|
PrintAction()
Constructor for the PrintAction object |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt)
The pretty printer action |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a feature to the PropertyChangeListener attribute of the PrintAction object |
protected java.lang.String |
getFilenameFromIDE()
Gets the initial string from the IDE |
protected java.lang.String |
getStringFromIDE()
Gets the initial string from the IDE |
java.lang.Object |
getValue(java.lang.String key)
Gets the Value attribute of the PrintAction object |
boolean |
isEnabled()
Gets the Enabled attribute of the PrintAction object |
void |
putValue(java.lang.String key,
java.lang.Object value)
Sets the Value attribute of the PrintAction object |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a listener |
void |
setEnabled(boolean value)
Sets the Enabled attribute of the PrintAction object |
Methods inherited from class org.acm.seguin.ide.common.TextPrinter |
---|
print |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintAction()
Method Detail |
---|
public void setEnabled(boolean value)
setEnabled
in interface javax.swing.Action
value
- The new Enabled valueprotected java.lang.String getFilenameFromIDE()
protected java.lang.String getStringFromIDE()
public java.lang.Object getValue(java.lang.String key)
getValue
in interface javax.swing.Action
key
- Description of Parameter
public boolean isEnabled()
isEnabled
in interface javax.swing.Action
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
evt
- the action that occurredpublic void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface javax.swing.Action
listener
- The feature to be added to the PropertyChangeListener
attributepublic void putValue(java.lang.String key, java.lang.Object value)
putValue
in interface javax.swing.Action
key
- The new key valuevalue
- The new value valuepublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface javax.swing.Action
listener
- the listener to be removed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |