A B C D E F G H I K L M N O P R S T U V W Y

G

getAppletInfo() - Method in class maclib.DrawingApplet
Returns a string giving informations about this DrawingApplet.
getButton() - Method in class maclib.DrawingStuff
Returns the state of the mouse button.
getButtonState() - Method in class maclib.DrawingStuff
Returns an integer value that describes the modifier keys state at the time of the last mouse pressed event.
getClick() - Method in class maclib.GrafPort
Waits until the mouse button is pressed and then released in the attached drawing panel.
getClick(Point) - Static method in class maclib.MacLib
Waits until the mouse button is pressed and then released in the Drawing window.
GetClick(Point) - Static method in class maclib.MacLib
 
getColor() - Method in class maclib.RGBColor
Converts this color as a java.awt.Color object.
getDrawingRect() - Method in class maclib.GrafPort
Gets the drawing bounds of the attached drawing panel.
getDrawingRect(Rect) - Static method in class maclib.MacLib
Gets the bounds of the Drawing window.
GetDrawingRect(Rect) - Static method in class maclib.MacLib
 
getFontInfo() - Method in class maclib.GrafPort
Returns the metric informations about the current font as a FontInfo object.
getFontInfo() - Method in class maclib.MacLib
Returns the metric informations about the current font as a FontInfo object.
GetFontInfo() - Method in class maclib.MacLib
 
getGraphics() - Method in class maclib.DrawingStuff
Returns a graphic context for drawing onto the off-screen image that is associated to this DrawingStuff.
getKey() - Method in class maclib.DrawingStuff
Returns the char corresponding to the last keyboard event.
getKey() - Method in class maclib.GrafPort
Returns the char corresponding to the last keyboard event in the drawing panel.
getKey() - Static method in class maclib.MacLib
Returns the char corresponding to the last keyboard event in the Drawing window.
GetKey() - Static method in class maclib.MacLib
 
getMouse() - Method in class maclib.DrawingStuff
Returns the current mouse location (relative to the corresponding drawing panel) as a java.awt.Point.
getMouse() - Method in class maclib.GrafPort
Returns the current mouse location (relative to the attached drawing panel) as a PointPoint object.
getMouse(Point) - Static method in class maclib.MacLib
Stores the current mouse location (relative to the Drawing window) in the given PointPoint object.
GetMouse(Point) - Static method in class maclib.MacLib
 
getName() - Method in class maclib.DrawingFrame
Returns the title given to this DrawingFrame.
getPanel() - Method in class maclib.GrafPort
Returns the drawing panel attached to this GrafPort.
getPen() - Method in class maclib.GrafPort
Returns the current pen location (relative to the attached drawing panel) as a Point object.
getPen(Point) - Static method in class maclib.MacLib
Stores the current pen location (relative to the Drawing window) in the given point.
GetPen(Point) - Static method in class maclib.MacLib
 
getPoint() - Method in class maclib.Point
Converts this point as a java.awt.Point object.
getPort() - Method in class maclib.DrawingApplet
Returns the GrafPort object that provides QuickDraw-like drawing and event routines onto this panel.
getPort() - Method in class maclib.DrawingFrame
Returns the GrafPort object that provides QuickDraw-like drawing and event routines onto the attached drawing panel.
getPort() - Static method in class maclib.MacLib
Returns the GrafPort for the current Drawing window.
GetPort() - Static method in class maclib.MacLib
 
getPortBounds() - Method in class maclib.DrawingFrame
Gets the drawing bounds of this DrawingFrame.
getPreferredSize() - Method in class maclib.DrawingApplet
 
getRectangle() - Method in class maclib.Rect
Converts this rectangle as a java.awt.Rectangle object.
getStuff() - Method in class maclib.DrawingApplet
Returns the attached DrawingStuff object that provides drawings with automatic repaint and interfaces for keyboard and mouse events.
getStuff() - Method in class maclib.DrawingFrame
Returns the attached DrawingStuff object that provides automatic repaint and interfaces for keyboard and mouse events.
getTextRect(Rect) - Static method in class maclib.MacLib
Gets the bounds of the Text window.
GetTextRect(Rect) - Static method in class maclib.MacLib
 
GrafPort - Class in maclib
A GrafPort object implements QuickDraw-like drawing and event routines onto an object of class DrawingApplet, used for a drawing panel.
GrafPort(String, int, int, int, int) - Constructor for class maclib.GrafPort
Constructs and initializes a GrafPort and an attached DrawingFrame having : the specified title, the specified initial size for the frame, the specified final size for the off-screen image
GrafPort(String, int, int) - Constructor for class maclib.GrafPort
Constructs and initializes a GrafPort and an attached DrawingFrame having : the specified title, the specified initial size for the frame, the default final size for the off-screen image
GrafPort(String) - Constructor for class maclib.GrafPort
Constructs and initializes a GrafPort and an attached DrawingFrame having : the specified title, the default initial size for the frame, the default size for the off-screen image
GrafPort() - Constructor for class maclib.GrafPort
Constructs and initializes a GrafPort and an attached DrawingFrame having : the title "Drawing", the default initial size for the frame, the default size for the off-screen image
green - Variable in class maclib.RGBColor
The green component.
GREEN_COLOR - Static variable in class maclib.GrafPort
Used to specify one of the standard painting color.
greenColor - Static variable in class maclib.MacLib
Used to specify one of the standard painting color.

A B C D E F G H I K L M N O P R S T U V W Y