50146
|
1 |
package java2d;
|
|
2 |
|
|
3 |
import java.awt.Color;
|
|
4 |
import javax.swing.JCheckBoxMenuItem;
|
|
5 |
import javax.swing.JTabbedPane;
|
|
6 |
|
|
7 |
/**
|
|
8 |
* The interface provides access to instance variables of 'J2Ddemo' object, which
|
|
9 |
* were static variables of 'J2Ddemo' class read/written from various parts of the
|
|
10 |
* demo classes. The interface is a part of the fix which changed static variables
|
|
11 |
* for instance variables in certain demo classes.
|
|
12 |
*/
|
|
13 |
public interface DemoInstVarsAccessor {
|
|
14 |
public GlobalControls getControls();
|
|
15 |
public MemoryMonitor getMemoryMonitor();
|
|
16 |
public PerformanceMonitor getPerformanceMonitor();
|
|
17 |
public JTabbedPane getTabbedPane();
|
|
18 |
public DemoGroup[] getGroup();
|
|
19 |
public void setGroupColumns(int columns);
|
|
20 |
public JCheckBoxMenuItem getVerboseCB();
|
|
21 |
public JCheckBoxMenuItem getCcthreadCB();
|
|
22 |
public JCheckBoxMenuItem getPrintCB();
|
|
23 |
public Color getBackgroundColor();
|
|
24 |
public JCheckBoxMenuItem getMemoryCB();
|
|
25 |
public JCheckBoxMenuItem getPerfCB();
|
|
26 |
public Intro getIntro();
|
|
27 |
}
|