http://www.eteks.com

com.eteks.awt
Class PJAFramePeer

java.lang.Object
  extended bycom.eteks.awt.PJAComponentPeer
      extended bycom.eteks.awt.PJAFramePeer
All Implemented Interfaces:
java.awt.peer.ButtonPeer, java.awt.peer.CanvasPeer, java.awt.peer.CheckboxMenuItemPeer, java.awt.peer.CheckboxPeer, java.awt.peer.ChoicePeer, java.awt.peer.ComponentPeer, java.awt.peer.ContainerPeer, java.awt.peer.DialogPeer, java.awt.peer.FileDialogPeer, java.awt.peer.FramePeer, java.awt.peer.LabelPeer, java.awt.peer.ListPeer, java.awt.peer.MenuBarPeer, java.awt.peer.MenuComponentPeer, java.awt.peer.MenuItemPeer, java.awt.peer.MenuPeer, java.awt.peer.PanelPeer, java.awt.peer.PopupMenuPeer, java.awt.peer.ScrollbarPeer, java.awt.peer.ScrollPanePeer, java.awt.peer.TextAreaPeer, java.awt.peer.TextComponentPeer, java.awt.peer.TextFieldPeer, java.awt.peer.WindowPeer

public class PJAFramePeer
extends PJAComponentPeer
implements java.awt.peer.FramePeer

Pure Java AWT Frame Peer. This is the mimimum peer that must exist to be able to create an off screen image, when used with AWT toolkit, for which a display is available.

   Frame frame = new Frame ();
   frame.addNotify ();
   Image image = frame.createImage (width, height);
 

Since:
PJA1.0
Version:
2.4
Author:
Emmanuel Puybaret

Constructor Summary
PJAFramePeer(java.awt.Frame frame)
           
 
Method Summary
 int getState()
           
 void setIconImage(java.awt.Image im)
           
 void setMaximizedBounds(java.awt.Rectangle bounds)
           
 void setMenuBar(java.awt.MenuBar mb)
           
 void setResizable(boolean resizeable)
           
 void setState(int state)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class com.eteks.awt.PJAComponentPeer
add, addHelpMenu, addItem, addItem, addMenu, addSeparator, beginLayout, beginValidate, canDetermineObscurity, checkImage, childResized, clear, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, delItem, delItems, delMenu, deselect, destroyBuffers, disable, dispose, enable, endLayout, endValidate, filterEvents, flip, getBackBuffer, getCaretPosition, getCharacterBounds, getColorModel, getComponent, getFontMetrics, getGraphics, getGraphicsConfiguration, getHScrollbarHeight, getIndexAtPoint, getInsets, getLocationOnScreen, getMinimumSize, getMinimumSize, getMinimumSize, getPreferredSize, getPreferredSize, getPreferredSize, getSelectedIndexes, getSelectionEnd, getSelectionStart, getText, getToolkit, getVScrollbarWidth, handleEvent, handleFocusTraversalEvent, handlesWheelScrolling, hide, insert, insertText, insets, isFocusable, isFocusTraversable, isObscured, isPaintPending, makeVisible, minimumSize, minimumSize, minimumSize, paint, preferredSize, preferredSize, preferredSize, prepareImage, print, remove, removeAll, repaint, replaceRange, replaceText, requestFocus, requestFocus, reshape, select, select, setAlignment, setBackground, setBounds, setCaretPosition, setCheckboxGroup, setCursor, setDirectory, setEchoChar, setEchoCharacter, setEditable, setEnabled, setFile, setFilenameFilter, setFont, setForeground, setLabel, setLineIncrement, setMultipleMode, setMultipleSelections, setPageIncrement, setScrollPosition, setState, setText, setUnitIncrement, setValue, setValues, setVisible, show, show, toBack, toFront, updateCursorImmediately
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.peer.WindowPeer
toBack, toFront
 
Methods inherited from interface java.awt.peer.ContainerPeer
beginLayout, beginValidate, endLayout, endValidate, getInsets, insets, isPaintPending
 
Methods inherited from interface java.awt.peer.ComponentPeer
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isObscured, minimumSize, paint, preferredSize, prepareImage, print, repaint, requestFocus, reshape, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, show, updateCursorImmediately
 

Constructor Detail

PJAFramePeer

public PJAFramePeer(java.awt.Frame frame)
Method Detail

setTitle

public void setTitle(java.lang.String title)
Specified by:
setTitle in interface java.awt.peer.FramePeer
Overrides:
setTitle in class PJAComponentPeer

setIconImage

public void setIconImage(java.awt.Image im)
Specified by:
setIconImage in interface java.awt.peer.FramePeer

setMenuBar

public void setMenuBar(java.awt.MenuBar mb)
Specified by:
setMenuBar in interface java.awt.peer.FramePeer

setResizable

public void setResizable(boolean resizeable)
Specified by:
setResizable in interface java.awt.peer.FramePeer
Overrides:
setResizable in class PJAComponentPeer

setState

public void setState(int state)
Specified by:
setState in interface java.awt.peer.FramePeer

getState

public int getState()
Specified by:
getState in interface java.awt.peer.FramePeer

setMaximizedBounds

public void setMaximizedBounds(java.awt.Rectangle bounds)
Specified by:
setMaximizedBounds in interface java.awt.peer.FramePeer

© 1997-2003 eTeks - All rights reserved