|
Jedit 4.1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--java.applet.Applet | +--JEdit
An applet that consists of a clickable button for launching the JEdit program. When the button area receives a mousePressed event, a new JeditFrame is created. This is the main class for Jedit.
Applet
,
MouseListener
,
MouseMotionListener
,
Serialized FormNested Class Summary |
Nested classes inherited from class java.applet.Applet |
Applet.AccessibleApplet |
Nested classes inherited from class java.awt.Panel |
Panel.AccessibleAWTPanel |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
JEdit()
|
Method Summary | |
String |
getAppletInfo()
Returns Get Info text for Jedit. |
void |
init()
Called by the browser to set up the applet to receive mouse events. |
void |
mouseClicked(MouseEvent e)
Not implemented. |
void |
mouseDragged(MouseEvent e)
Not implemented. |
void |
mouseEntered(MouseEvent e)
Not implemented. |
void |
mouseExited(MouseEvent e)
If the mouse is moved off of the button, repaints the window. |
void |
mouseMoved(MouseEvent e)
Checks whether the mouse has moved onto the button. |
void |
mousePressed(MouseEvent e)
If the event is on the button, creates a new JeditFrame. |
void |
mouseReleased(MouseEvent e)
Not implemented. |
void |
paint(Graphics g)
Paints the button and logo in the applet. |
void |
update(Graphics g)
Overridden for double-buffered graphics. |
Methods inherited from class java.applet.Applet |
destroy, getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JEdit()
Method Detail |
public void init()
init
in class Applet
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
e
- the mouse event
oops
MouseEvent
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
e
- the mouse eventMouseEvent
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
e
- the mouse eventMouseEvent
public void update(Graphics g)
update
in class Container
g
- the graphic to updatepublic void paint(Graphics g)
paint
in class Container
g
- the graphic to paintpublic String getAppletInfo()
getAppletInfo
in class Applet
|
Jedit 4.1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |