public abstract class GrammarDOTTab extends GrammarWindowTab implements Runnable, GViewDelegate
| Modifier and Type | Class and Description |
|---|---|
protected class |
GrammarDOTTab.CustomGView |
protected class |
GrammarDOTTab.StreamWatcher |
| Modifier and Type | Field and Description |
|---|---|
static String |
dotInfo |
protected String |
error |
protected JPanel |
panel |
protected ElementRule |
rule |
protected String |
tempInputFile |
protected String |
tempOutputFile |
protected GView |
view |
window| Constructor and Description |
|---|
GrammarDOTTab(GrammarWindow window) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExportToBitmap() |
boolean |
canExportToDOT() |
boolean |
canExportToEPS() |
void |
changeOccured() |
protected boolean |
checkForCurrentRule() |
void |
contextualHelp(GElement element) |
protected void |
createInterface(GElement graph) |
protected JSlider |
createZoomSlider() |
GElement |
generate() |
protected void |
generateDOTFile() |
protected void |
generatePlainTextFile() |
Container |
getContainer() |
GView |
getExportableGView() |
int |
getHorizontalMagnetics() |
Component |
getTabComponent() |
int |
getVerticalMagnetics() |
boolean |
launch() |
void |
run() |
void |
viewSizeDidChange() |
protected boolean |
willLaunch() |
void |
willRun() |
editorActivated, getDOTString, getTabNameprotected JPanel panel
protected GView view
protected ElementRule rule
protected String tempInputFile
protected String tempOutputFile
protected String error
public static final String dotInfo
public GrammarDOTTab(GrammarWindow window)
public Container getContainer()
public boolean launch()
protected boolean willLaunch()
protected boolean checkForCurrentRule()
protected void createInterface(GElement graph)
protected JSlider createZoomSlider()
public void willRun()
public boolean canExportToEPS()
canExportToEPS in class GrammarWindowTabpublic boolean canExportToBitmap()
canExportToBitmap in class GrammarWindowTabpublic boolean canExportToDOT()
canExportToDOT in class GrammarWindowTabpublic GView getExportableGView()
getExportableGView in class GrammarWindowTabpublic Component getTabComponent()
getTabComponent in class GrammarWindowTabpublic int getHorizontalMagnetics()
getHorizontalMagnetics in interface GViewDelegatepublic int getVerticalMagnetics()
getVerticalMagnetics in interface GViewDelegatepublic void contextualHelp(GElement element)
contextualHelp in interface GViewDelegatepublic void changeOccured()
changeOccured in interface GViewDelegatepublic void viewSizeDidChange()
viewSizeDidChange in interface GViewDelegateCopyright © 2013. All rights reserved.