public class GPanel extends Object implements XJNotificationObserver
| Modifier and Type | Class and Description |
|---|---|
protected class |
GPanel.CustomGView |
| Modifier and Type | Field and Description |
|---|---|
protected Container |
container |
protected GContext |
context |
protected Toolbar |
controlPanel |
protected GrammarWindow |
editor |
protected JTextField |
errorLabel |
protected Box |
pathButtonSelectionBox |
protected ElementRule |
rule |
protected GView |
view |
protected JScrollPane |
viewScrollPane |
| Constructor and Description |
|---|
GPanel(GrammarWindow editor,
GContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
createPanel() |
Container |
getContainer() |
GGraphAbstract |
getCurrentGraph() |
BufferedImage |
getImageOfView() |
void |
notificationFire(Object source,
String name) |
void |
setGraphs(List graphs) |
void |
setPlaceholder(String placeholder) |
void |
setRule(ElementRule rule) |
void |
update() |
protected Container container
protected Box pathButtonSelectionBox
protected Toolbar controlPanel
protected JTextField errorLabel
protected GContext context
protected GView view
protected JScrollPane viewScrollPane
protected ElementRule rule
protected GrammarWindow editor
public GPanel(GrammarWindow editor, GContext context)
public void close()
public void setGraphs(List graphs)
public void setRule(ElementRule rule)
public void setPlaceholder(String placeholder)
public void update()
public Container getContainer()
public GGraphAbstract getCurrentGraph()
public BufferedImage getImageOfView()
public void createPanel()
public void notificationFire(Object source, String name)
notificationFire in interface XJNotificationObserverCopyright © 2013. All rights reserved.