|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Wrapper interface for Cairo. This interface allows Cairo to run both an app and applet; differences between the two versions needs to be here.
Cairo
Method Summary | |
javax.swing.JMenu |
createFileMenu(Cairo c)
Creates a file menu specific to the app- or applet-version of Cairo. |
Cairo |
getCairo()
Returns the associated Cairo object. |
int |
getHeight()
Returns the current height. |
java.awt.Dimension |
getSize()
Returns the current size. |
int |
getWidth()
Returns the current width. |
Methods inherited from interface javax.swing.RootPaneContainer |
getContentPane,
getGlassPane,
getLayeredPane,
getRootPane,
setContentPane,
setGlassPane,
setLayeredPane |
Method Detail |
public javax.swing.JMenu createFileMenu(Cairo c)
Cairo.createFileMenu(Cairo)
,
CairoApplet.createFileMenu(Cairo)
,
FileMenuApp
,
FileMenuApplet
public Cairo getCairo()
Cairo.getCairo()
,
CairoApplet.getCairo()
public int getWidth()
public int getHeight()
public java.awt.Dimension getSize()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |