|
|||||||||
| Home >> All >> dog >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
dog.gui
Interface DRootPane

- All Superinterfaces:
- DConstants
- All Known Implementing Classes:
- DApplet, DDialog, DFrame, DRootPanel, DWindow
- public interface DRootPane
- extends DConstants
Interface implemented by top-level, heavyweight components that support the double-buffering of lightweight components. These components can render a background image in various ways.
- Version:
- 1.0.1
| Field Summary |
| Fields inherited from interface dog.gui.DConstants |
CENTER, CENTER_TILE, EAST, INTEGER_TILE, MAXIMIZE, MAXIMIZE_ASPECT, MAXIMIZE_HORIZONTAL, MAXIMIZE_VERTICAL, NORTH, NORTHEAST, NORTHWEST, SOUTH, SOUTHEAST, SOUTHWEST, TILE, WEST |
| Method Summary | |
java.awt.Component |
add(java.awt.Component component)
Adds the specified component to this pane. |
java.awt.Image |
getBackgroundImage()
Returns the background image. |
DButton |
getCancelButton()
Returns the cancel button in this pane. |
DButton |
getDefaultButton()
Returns the default button in this pane. |
java.awt.Font |
getFont()
Returns the font for this root pane. |
java.awt.FontMetrics |
getFontMetrics(java.awt.Font font)
Returns the font metrics for the specified font in this root pane. |
java.awt.Frame |
getFrame()
Returns the frame this root pane represents or is part of. |
java.awt.Insets |
getInsets()
Returns the insets of this root pane. |
int |
getMode()
Returns the rendering mode for the background image. |
java.awt.Dimension |
getSize()
Returns the size of this root pane. |
java.lang.String |
getTitle()
Returns the title of this pane. |
void |
processCancelAction(java.awt.event.ActionEvent event)
Activates the cancel button in the pane. |
void |
processDefaultAction(java.awt.event.ActionEvent event)
Activates the default button in the pane. |
void |
remove(java.awt.Component component)
Removes the specified component from this pane. |
void |
setBackgroundImage(java.awt.Image image)
Sets the background image. |
void |
setBackgroundImage(java.lang.String file)
Sets the background image from a file. |
void |
setBackgroundImage(java.net.URL url)
Sets the background image from a URL. |
void |
setCancelButton(DButton button)
Sets the cancel button in this pane. |
void |
setCursor(java.awt.Cursor cursor)
Sets the cursor on this root pane. |
void |
setDefaultButton(DButton button)
Sets the default button in this pane. |
void |
setMode(int mode)
Sets the rendering mode for the background image. |
void |
setTitle(java.lang.String title)
Sets the title of this pane. |
| Method Detail |
getMode
public int getMode()
- Returns the rendering mode for the background image.
setMode
public void setMode(int mode)
- Sets the rendering mode for the background image.
getBackgroundImage
public java.awt.Image getBackgroundImage()
- Returns the background image.
setBackgroundImage
public void setBackgroundImage(java.awt.Image image)
- Sets the background image.
setBackgroundImage
public void setBackgroundImage(java.lang.String file)
- Sets the background image from a file.
setBackgroundImage
public void setBackgroundImage(java.net.URL url)
- Sets the background image from a URL.
getDefaultButton
public DButton getDefaultButton()
- Returns the default button in this pane.
setDefaultButton
public void setDefaultButton(DButton button)
- Sets the default button in this pane.
processDefaultAction
public void processDefaultAction(java.awt.event.ActionEvent event)
- Activates the default button in the pane.
getCancelButton
public DButton getCancelButton()
- Returns the cancel button in this pane.
setCancelButton
public void setCancelButton(DButton button)
- Sets the cancel button in this pane.
processCancelAction
public void processCancelAction(java.awt.event.ActionEvent event)
- Activates the cancel button in the pane.
getTitle
public java.lang.String getTitle()
- Returns the title of this pane.
setTitle
public void setTitle(java.lang.String title)
- Sets the title of this pane.
getFrame
public java.awt.Frame getFrame()
- Returns the frame this root pane represents or is part of.
getSize
public java.awt.Dimension getSize()
- Returns the size of this root pane.
getInsets
public java.awt.Insets getInsets()
- Returns the insets of this root pane.
getFontMetrics
public java.awt.FontMetrics getFontMetrics(java.awt.Font font)
- Returns the font metrics for the specified font in this root pane.
getFont
public java.awt.Font getFont()
- Returns the font for this root pane.
add
public java.awt.Component add(java.awt.Component component)
- Adds the specified component to this pane.
remove
public void remove(java.awt.Component component)
- Removes the specified component from this pane.
setCursor
public void setCursor(java.awt.Cursor cursor)
- Sets the cursor on this root pane.
|
|||||||||
| Home >> All >> dog >> [ gui overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC