Java;Java.html;Java is an all purpose object
oriented language developed by SUN
Microsystems. Java code can
execute on any kind of processor
that supports a Java virtual
machine.
A Java program is made up of
classes, these classes are
organized into groups known as
packages. The Java 1.1 API is a
collection of subpackages
inside the java package.
;
Color;java.awt.Color.html;A class to encapsulate
RGB Colors.
extends Object
implements Serializable
Variables:
black
blue
cyan
darkGray
gray
green
lightGray
magenta
orange
pink
red
white
yellow
Constructors:
Color(float,float,float)
Color(int)
Color(int,int,int)
Methods:
brighter()
darker()
decode(String)
equals(Object)
getBlue()
getColor(String)
getColor(String,Color)
getColor(String,int)
getGreen()
getHSBColor(float,float,float)
getRed()
getRGB()
hashCode()
HSBtoRGB(float,float,float)
RGBtoHSB(int,int,int,float[])
toString();
AppletContext;java.applet.AppletContext.html;This interface corresponds to
an applet's environment: the
document containing the applet
and the other applets
in the same document.
The methods in this
interface can be used
by an applet to
obtain information about its
environment.
Methods:
getApplet(String)
getApplets()
getAudioClip(URL)
getImage(URL)
showDocument(URL)
showDocument(URL,String)
showStatus(String);
Applet;java.applet.Applet.html;An applet is a
small program that is
intended not to be
run on its own,
but rather to be
embedded inside another
application.
The Applet class must
be the superclass of
any applet that is
to be embedded in
a Web page or
viewed by the Java
Applet Viewer.
extends Panel
Constructors:
Applet()
Methods:
destroy()
getAppletContext()
getAppletInfo()
getAudioClip(URL)
getAudioClip(URL,String)
getCodeBase()
getDocumentBase()
getImage(URL)
getImage(URL,String)
getLocale()
getParameter(String)
getParameterInfo()
init()
isActive()
play(URL)
play(URL,String)
resize(Dimension)
resize(int,int)
setStub(AppletStub)
showStatus(String)
start()
stop();
AWTEventMulticaster;java.awt.AWTEventMulticaster.html;A class which implements
efficient multi-cast
event dispatching
for the AWT events
defined in the java.awt.event
package.
extends Object
implements ComponentListener
ContainerListener
FocusListener
KeyListener
MouseListener
MouseMotionListener
WindowListener
ActionListener
ItemListener
AdjustmentListener
TextListener
Variables:
a
b
Constructors:
AWTEventMulticaster(EventListener,EventListener)
Methods:
actionPerformed(ActionEvent)
add(ActionListener,ActionListener)
add(AdjustmentListener,AdjustmentListener)
add(ComponentListener,ComponentListener)
add(ContainerListener,ContainerListener)
add(FocusListener,FocusListener)
add(ItemListener,ItemListener)
add(KeyListener,KeyListener)
add(MouseListener,MouseListener)
add(MouseMotionListener,MouseMotionListener)
add(TextListener,TextListener)
add(WindowListener,WindowListener)
addInternal(EventListener,EventListener)
adjustmentValueChanged(AdjustmentEvent)
componentAdded(ContainerEvent)
componentHidden(ComponentEvent)
componentMoved(ComponentEvent)
componentRemoved(ContainerEvent)
componentResized(ComponentEvent)
componentShown(ComponentEvent)
focusGained(FocusEvent)
focusLost(FocusEvent)
itemStateChanged(ItemEvent)
keyPressed(KeyEvent)
keyReleased(KeyEvent)
keyTyped(KeyEvent)
mouseClicked(MouseEvent)
mouseDragged(MouseEvent)
mouseEntered(MouseEvent)
mouseExited(MouseEvent)
mouseMoved(MouseEvent)
mousePressed(MouseEvent)
mouseReleased(MouseEvent)
remove(ActionListener,ActionListener)
remove(AdjustmentListener,AdjustmentListener)
remove(ComponentListener,ComponentListener)
remove(ContainerListener,ContainerListener)
remove(EventListener)
remove(FocusListener,FocusListener)
remove(ItemListener,ItemListener)
remove(KeyListener,KeyListener)
remove(MouseListener,MouseListener)
remove(MouseMotionListener,MouseMotionListener)
remove(TextListener,TextListener)
remove(WindowListener,WindowListener)
removeInternal(EventListener,EventListener)
save(ObjectOutputStream,String,EventListener)
saveInternal(ObjectOutputStream,String)
textValueChanged(TextEvent)
windowActivated(WindowEvent)
windowClosed(WindowEvent)
windowClosing(WindowEvent)
windowDeactivated(WindowEvent)
windowDeiconified(WindowEvent)
windowIconified(WindowEvent)
windowOpened(WindowEvent);
Event;java.awt.Event.html;Event is a platform-independent
class that encapsulates events
from the local Graphical
User Interface(GUI) platform. The
event contains an id
which indicates the type
of event it is
and which other Event
variables are relavent for
the event.
extends Object
implements Serializable
Variables:
ACTION_EVENT
ALT_MASK
arg
BACK_SPACE
CAPS_LOCK
clickCount
CTRL_MASK
DELETE
DOWN
END
ENTER
ESCAPE
evt
F1
F10
F11
F12
F2
F3
F4
F5
F6
F7
F8
F9
GOT_FOCUS
HOME
id
INSERT
key
KEY_ACTION
KEY_ACTION_RELEASE
KEY_PRESS
KEY_RELEASE
LEFT
LIST_DESELECT
LIST_SELECT
LOAD_FILE
LOST_FOCUS
META_MASK
modifiers
MOUSE_DOWN
MOUSE_DRAG
MOUSE_ENTER
MOUSE_EXIT
MOUSE_MOVE
MOUSE_UP
NUM_LOCK
PAUSE
PGDN
PGUP
PRINT_SCREEN
RIGHT
SAVE_FILE
SCROLL_ABSOLUTE
SCROLL_BEGIN
SCROLL_END
SCROLL_LINE_DOWN
SCROLL_LINE_UP
SCROLL_LOCK
SCROLL_PAGE_DOWN
SCROLL_PAGE_UP
SHIFT_MASK
TAB
target
UP
when
WINDOW_DEICONIFY
WINDOW_DESTROY
WINDOW_EXPOSE
WINDOW_ICONIFY
WINDOW_MOVED
x
y
Constructors:
Event(Object,int,Object)
Event(Object,long,int,int,int,int,int)
Event(Object,long,int,int,int,int,int,Object)
Methods:
controlDown()
metaDown()
paramString()
shiftDown()
toString()
translate(int,int);
BorderLayout;java.awt.BorderLayout.html;A TNT style border
bag layout. It will
layout a container using
members named "North", "South",
"East", "West" and "Center".
extends Object
implements LayoutManager2
Serializable
Variables:
CENTER
EAST
NORTH
SOUTH
WEST
Constructors:
BorderLayout()
BorderLayout(int,int)
Methods:
addLayoutComponent(Component,Object)
addLayoutComponent(String,Component)
getHgap()
getLayoutAlignmentX(Container)
getLayoutAlignmentY(Container)
getVgap()
invalidateLayout(Container)
layoutContainer(Container)
maximumLayoutSize(Container)
minimumLayoutSize(Container)
preferredLayoutSize(Container)
removeLayoutComponent(Component)
setHgap(int)
setVgap(int)
toString();
AppletStub;java.applet.AppletStub.html;When an applet is
first created, an applet
stub is attached to
it using the applet's
setStub method. This stub
serves as the interface
between the applet and
the browser environment or
applet viewer environment in
which the application is
running.
Methods:
appletResize(int,int)
getAppletContext()
getCodeBase()
getDocumentBase()
getParameter(String)
isActive();
AudioClip;java.applet.AudioClip.html;The AudioClip interface is
a simple abstraction for
playing a sound clip.
Multiple AudioClip items can
be playing at the
same time, and the
resulting sound is mixed
together to produce a
composite.
Methods:
loop()
play()
stop();
AWTError;java.awt.AWTError.html;An AWT Error.
extends Error
Constructors:
AWTError(String);
AWTEvent;java.awt.AWTEvent.html;The root event class
for all AWT events.
This class and its
subclasses supercede the original
java.awt.Event class.
extends EventObject
Variables:
ACTION_EVENT_MASK
ADJUSTMENT_EVENT_MASK
COMPONENT_EVENT_MASK
consumed
CONTAINER_EVENT_MASK
FOCUS_EVENT_MASK
id
ITEM_EVENT_MASK
KEY_EVENT_MASK
MOUSE_EVENT_MASK
MOUSE_MOTION_EVENT_MASK
RESERVED_ID_MAX
TEXT_EVENT_MASK
WINDOW_EVENT_MASK
Constructors:
AWTEvent(Event)
AWTEvent(Object,int)
Methods:
consume()
getID()
isConsumed()
paramString()
toString();
Object;java.lang.Object.html;Class Object is the
root of the class
hierarchy. Every class has
Object as a superclass.
All objects, including arrays,
implement the methods of
this class.
Constructors:
Object()
Methods:
clone()
equals(Object)
finalize()
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long)
wait(long,int);