|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jdesktop.application.AbstractBean
org.jdesktop.application.Application
org.jdesktop.application.SingleFrameApplication
org.jcurl.demo.tactics.JCurlShotPlanner
public class JCurlShotPlanner
Makes heavy use of the Swing Application Framework.
| Nested Class Summary | |
|---|---|
(package private) static class |
JCurlShotPlanner.GuiUtil
|
(package private) static class |
JCurlShotPlanner.WaitCursorTask<T,V>
|
static class |
JCurlShotPlanner.ZoomHelper
|
| Nested classes/interfaces inherited from class org.jdesktop.application.Application |
|---|
Application.ExitListener |
| Method Summary | |
|---|---|
boolean |
askDiscardUnsaved(Action action)
|
boolean |
askOverwrite(File f)
|
void |
closeAboutBox()
|
void |
editHome()
Edit Menu Action |
void |
editOut()
Edit Menu Action |
void |
editPreferences()
Edit Menu Action |
void |
editProperties()
Edit Menu Action |
void |
editRedo()
Edit Menu Action |
void |
editUndo()
Edit Menu Action |
Task<Void,Void> |
fileExportPng()
Render the current view into a PNG image (File Menu Action). |
Task<Void,Void> |
fileExportSvg()
Render the current view into a SVG image (File Menu Action). |
void |
fileHammy()
File Menu Action |
void |
fileNewDoc()
File Menu Action |
void |
fileOpen()
File Menu Action |
void |
fileOpenURL()
File Menu Action |
void |
fileReset()
File Menu Action |
void |
fileSave()
File Menu Action |
void |
fileSaveAs()
File Menu Action |
void |
fileSaveCopyAs()
File Menu Action |
void |
helpDumpProperties()
|
protected void |
initialize(String[] as)
Setting the internal field document directly (bypassing
setDocument(URL)) is used to deplay the document loading until
ready(). |
boolean |
isAlwaysFalse()
|
boolean |
isCanRedo()
|
boolean |
isCanUndo()
|
boolean |
isModified()
|
boolean |
isRenderSvgAvailable()
|
static void |
main(String[] args)
|
protected void |
ready()
|
void |
setModified(boolean modified)
|
void |
showAboutBox()
Show the about box dialog. |
protected void |
startup()
|
void |
undoableEditHappened(UndoableEditEvent e)
|
void |
view12Foot()
View Menu Action |
void |
viewActive()
View Menu Action |
void |
viewComplete()
View Menu Action |
void |
viewHouse()
View Menu Action |
void |
viewPanEast()
View Menu Action |
void |
viewPanNorth()
View Menu Action |
void |
viewPanSouth()
View Menu Action |
void |
viewPanWest()
View Menu Action |
void |
viewZoomIn()
View Menu Action |
void |
viewZoomOut()
View Menu Action |
| Methods inherited from class org.jdesktop.application.SingleFrameApplication |
|---|
configureWindow, getMainFrame, getMainView, setMainFrame, show, show, show, show, shutdown |
| Methods inherited from class org.jdesktop.application.Application |
|---|
addExitListener, end, exit, exit, getContext, getExitListeners, getInstance, getInstance, hide, launch, quit, removeExitListener |
| Methods inherited from class org.jdesktop.application.AbstractBean |
|---|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(String[] args)
public boolean askDiscardUnsaved(Action action)
public boolean askOverwrite(File f)
@Action public void closeAboutBox()
@Action public void editHome()
@Action public void editOut()
@Action(enabledProperty="alwaysFalse") public void editPreferences()
@Action(enabledProperty="alwaysFalse") public void editProperties()
@Action(enabledProperty="canRedo") public void editRedo()
@Action(enabledProperty="canUndo") public void editUndo()
@Action(block=ACTION) public Task<Void,Void> fileExportPng()
ImageIO.write(java.awt.image.RenderedImage, String, File)
@Action(enabledProperty="renderSvgAvailable",
block=ACTION)
public Task<Void,Void> fileExportSvg()
BatikWrapper.renderSvg(Container, java.io.OutputStream)@Action(block=APPLICATION) public void fileHammy()
@Action public void fileNewDoc()
@Action public void fileOpen()
@Action public void fileOpenURL()
@Action(enabledProperty="modified")
public void fileReset()
throws IOException
IOException@Action(enabledProperty="modified") public void fileSave()
@Action public void fileSaveAs()
@Action public void fileSaveCopyAs()
@Action public void helpDumpProperties()
protected void initialize(String[] as)
document directly (bypassing
setDocument(URL)) is used to deplay the document loading until
ready().
initialize in class Applicationpublic boolean isAlwaysFalse()
public boolean isCanRedo()
public boolean isCanUndo()
public boolean isModified()
public boolean isRenderSvgAvailable()
protected void ready()
ready in class Applicationpublic void setModified(boolean modified)
@Action(block=COMPONENT) public void showAboutBox()
protected void startup()
startup in class Applicationpublic void undoableEditHappened(UndoableEditEvent e)
undoableEditHappened in interface UndoableEditListener@Action public void view12Foot()
@Action public void viewActive()
@Action public void viewComplete()
@Action public void viewHouse()
@Action public void viewPanEast()
@Action public void viewPanNorth()
@Action public void viewPanSouth()
@Action public void viewPanWest()
@Action public void viewZoomIn()
@Action public void viewZoomOut()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||