Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.bu
Class BuApplet  view BuApplet download BuApplet.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended byjavax.swing.JApplet
                      extended bycom.memoire.bu.BuApplet
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, BuCommonInterface, BuCutCopyPasteInterface, BuSelectFindReplaceInterface, BuUndoRedoInterface, java.util.EventListener, java.awt.image.ImageObserver, javax.swing.event.InternalFrameListener, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, java.awt.event.WindowListener

public class BuApplet
extends javax.swing.JApplet
implements BuCommonInterface, java.awt.event.WindowListener, javax.swing.event.InternalFrameListener

A root class for applets. Compatible with Bu et Swing. Delegates quite everything to BuCommonImplementation.


Nested Class Summary
 
Nested classes inherited from class javax.swing.JApplet
javax.swing.JApplet.AccessibleJApplet
 
Nested classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  BuCommonImplementation implementation_
           
 
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.applet.Applet
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
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
BuApplet()
           
 
Method Summary
 void about()
           
 void actionPerformed(java.awt.event.ActionEvent _evt)
          This method is invoked when an action occurs.
 boolean confirmExit()
           
 void copy()
           
 void cut()
           
 void displayURL(java.lang.String _url)
           
 void duplicate()
           
 void exit()
           
 void find()
           
 BuCommonInterface getApp()
           
 java.awt.Frame getFrame()
           
 BuCommonImplementation getImplementation()
           
 BuInformationsSoftware getInformationsSoftware()
           
 BuMenuBar getMainMenuBar()
           
 BuMainPanel getMainPanel()
           
 BuToolBar getMainToolBar()
           
 BuSpecificBar getSpecificBar()
           
 void init()
          This method is called when the applet is first loaded, before start().
 void internalFrameActivated(javax.swing.event.InternalFrameEvent _evt)
          Internal frame activated
 void internalFrameClosed(javax.swing.event.InternalFrameEvent _evt)
          Internal frame closed
 void internalFrameClosing(javax.swing.event.InternalFrameEvent _evt)
          Internal frame closing
 void internalFrameDeactivated(javax.swing.event.InternalFrameEvent _evt)
          Internal frame deactivated
 void internalFrameDeiconified(javax.swing.event.InternalFrameEvent _evt)
          Internal frame deiconified
 void internalFrameIconified(javax.swing.event.InternalFrameEvent _evt)
          Internal frame iconified
 void internalFrameOpened(javax.swing.event.InternalFrameEvent _evt)
          Internal frame opened
 void license()
           
 void paste()
           
 void print()
           
 void redo()
           
 void removeAction(java.lang.String _cmd)
           
 void replace()
           
 void select()
           
 void setCheckedForAction(java.lang.String _cmd, boolean _enabled)
           
 void setEnabledForAction(java.lang.String _cmd, boolean _enabled)
           
 void setImplementation(BuCommonImplementation _implementation)
           
 void setLookAndFeel(java.lang.String _lnf)
           
 void setMainMenuBar(BuMenuBar _mb)
           
 void setMainPanel(BuMainPanel _p)
           
 void setMainToolBar(BuToolBar _tb)
           
 void setSpecificBar(BuSpecificBar _sb)
           
 void setTitle(java.lang.String _s)
           
 void setVisible(boolean _visible)
          Makes this component visible or invisible.
 void showOrHide(java.lang.String _cmd, javax.swing.JComponent _c)
           
 void start()
          This method is called when the applet should start running.
 void undo()
           
 void windowActivated(java.awt.event.WindowEvent _evt)
          This method is called when a window is activated.
 void windowClosed(java.awt.event.WindowEvent _evt)
          This method is called when the window is closed.
 void windowClosing(java.awt.event.WindowEvent _evt)
          This method is called when the user calls the system menu close function, giving the program a chance to cancel the close.
 void windowDeactivated(java.awt.event.WindowEvent _evt)
          This method is called when the window is deactivated.
 void windowDeiconified(java.awt.event.WindowEvent _evt)
          This method is called when the window is deiconified.
 void windowIconified(java.awt.event.WindowEvent _evt)
          This method is called when the window is iconified.
 void windowOpened(java.awt.event.WindowEvent _evt)
          This method is called when the window is made visible.
 
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getPreferredSize, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.memoire.bu.BuCommonInterface
doLayout, getRootPane, setContentPane, setJMenuBar, validate
 

Field Detail

implementation_

protected BuCommonImplementation implementation_
Constructor Detail

BuApplet

public BuApplet()
Method Detail

init

public void init()
Description copied from class: java.applet.Applet
This method is called when the applet is first loaded, before start(). The default implementation does nothing; override to do any one-time initialization.

Specified by:
init in interface BuCommonInterface

start

public void start()
Description copied from class: java.applet.Applet
This method is called when the applet should start running. This is normally each time a web page containing it is loaded. The default implemention does nothing; override for your applet to be useful.

Specified by:
start in interface BuCommonInterface

getImplementation

public BuCommonImplementation getImplementation()
Specified by:
getImplementation in interface BuCommonInterface

setImplementation

public void setImplementation(BuCommonImplementation _implementation)

getApp

public BuCommonInterface getApp()
Specified by:
getApp in interface BuCommonInterface

getMainPanel

public BuMainPanel getMainPanel()
Specified by:
getMainPanel in interface BuCommonInterface

setMainPanel

public void setMainPanel(BuMainPanel _p)
Specified by:
setMainPanel in interface BuCommonInterface

getMainMenuBar

public BuMenuBar getMainMenuBar()
Specified by:
getMainMenuBar in interface BuCommonInterface

setMainMenuBar

public void setMainMenuBar(BuMenuBar _mb)
Specified by:
setMainMenuBar in interface BuCommonInterface

getMainToolBar

public BuToolBar getMainToolBar()
Specified by:
getMainToolBar in interface BuCommonInterface

setMainToolBar

public void setMainToolBar(BuToolBar _tb)
Specified by:
setMainToolBar in interface BuCommonInterface

getSpecificBar

public BuSpecificBar getSpecificBar()
Specified by:
getSpecificBar in interface BuCommonInterface

setSpecificBar

public void setSpecificBar(BuSpecificBar _sb)
Specified by:
setSpecificBar in interface BuCommonInterface

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent _evt)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface BuCommonInterface

getInformationsSoftware

public BuInformationsSoftware getInformationsSoftware()
Specified by:
getInformationsSoftware in interface BuCommonInterface

setTitle

public void setTitle(java.lang.String _s)
Specified by:
setTitle in interface BuCommonInterface

getFrame

public java.awt.Frame getFrame()
Specified by:
getFrame in interface BuCommonInterface

setLookAndFeel

public void setLookAndFeel(java.lang.String _lnf)
Specified by:
setLookAndFeel in interface BuCommonInterface

removeAction

public void removeAction(java.lang.String _cmd)
Specified by:
removeAction in interface BuCommonInterface

setEnabledForAction

public void setEnabledForAction(java.lang.String _cmd,
                                boolean _enabled)
Specified by:
setEnabledForAction in interface BuCommonInterface

setCheckedForAction

public void setCheckedForAction(java.lang.String _cmd,
                                boolean _enabled)
Specified by:
setCheckedForAction in interface BuCommonInterface

showOrHide

public void showOrHide(java.lang.String _cmd,
                       javax.swing.JComponent _c)
Specified by:
showOrHide in interface BuCommonInterface

confirmExit

public boolean confirmExit()
Specified by:
confirmExit in interface BuCommonInterface

displayURL

public void displayURL(java.lang.String _url)
Specified by:
displayURL in interface BuCommonInterface

setVisible

public void setVisible(boolean _visible)
Description copied from class: java.awt.Component
Makes this component visible or invisible. Note that it wtill might not show the component, if a parent is invisible.


about

public void about()
Specified by:
about in interface BuCommonInterface

cut

public void cut()
Specified by:
cut in interface BuCommonInterface

copy

public void copy()
Specified by:
copy in interface BuCommonInterface

exit

public void exit()
Specified by:
exit in interface BuCommonInterface

license

public void license()
Specified by:
license in interface BuCommonInterface

duplicate

public void duplicate()
Specified by:
duplicate in interface BuCommonInterface

find

public void find()
Specified by:
find in interface BuCommonInterface

paste

public void paste()
Specified by:
paste in interface BuCommonInterface

print

public void print()
Specified by:
print in interface BuCommonInterface

redo

public void redo()
Specified by:
redo in interface BuCommonInterface

replace

public void replace()
Specified by:
replace in interface BuCommonInterface

select

public void select()
Specified by:
select in interface BuCommonInterface

undo

public void undo()
Specified by:
undo in interface BuCommonInterface

windowActivated

public void windowActivated(java.awt.event.WindowEvent _evt)
Description copied from interface: java.awt.event.WindowListener
This method is called when a window is activated. Only Frames and Dialogs can be active, and the active window always contains the component with focus.

Specified by:
windowActivated in interface java.awt.event.WindowListener

windowClosed

public void windowClosed(java.awt.event.WindowEvent _evt)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is closed.

Specified by:
windowClosed in interface java.awt.event.WindowListener

windowClosing

public void windowClosing(java.awt.event.WindowEvent _evt)
Description copied from interface: java.awt.event.WindowListener
This method is called when the user calls the system menu close function, giving the program a chance to cancel the close.

Specified by:
windowClosing in interface java.awt.event.WindowListener

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent _evt)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is deactivated.

Specified by:
windowDeactivated in interface java.awt.event.WindowListener

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent _evt)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is deiconified.

Specified by:
windowDeiconified in interface java.awt.event.WindowListener

windowIconified

public void windowIconified(java.awt.event.WindowEvent _evt)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is iconified.

Specified by:
windowIconified in interface java.awt.event.WindowListener

windowOpened

public void windowOpened(java.awt.event.WindowEvent _evt)
Description copied from interface: java.awt.event.WindowListener
This method is called when the window is made visible.

Specified by:
windowOpened in interface java.awt.event.WindowListener

internalFrameActivated

public void internalFrameActivated(javax.swing.event.InternalFrameEvent _evt)
Description copied from interface: javax.swing.event.InternalFrameListener
Internal frame activated

Specified by:
internalFrameActivated in interface javax.swing.event.InternalFrameListener

internalFrameDeactivated

public void internalFrameDeactivated(javax.swing.event.InternalFrameEvent _evt)
Description copied from interface: javax.swing.event.InternalFrameListener
Internal frame deactivated

Specified by:
internalFrameDeactivated in interface javax.swing.event.InternalFrameListener

internalFrameClosed

public void internalFrameClosed(javax.swing.event.InternalFrameEvent _evt)
Description copied from interface: javax.swing.event.InternalFrameListener
Internal frame closed

Specified by:
internalFrameClosed in interface javax.swing.event.InternalFrameListener

internalFrameClosing

public void internalFrameClosing(javax.swing.event.InternalFrameEvent _evt)
Description copied from interface: javax.swing.event.InternalFrameListener
Internal frame closing

Specified by:
internalFrameClosing in interface javax.swing.event.InternalFrameListener

internalFrameDeiconified

public void internalFrameDeiconified(javax.swing.event.InternalFrameEvent _evt)
Description copied from interface: javax.swing.event.InternalFrameListener
Internal frame deiconified

Specified by:
internalFrameDeiconified in interface javax.swing.event.InternalFrameListener

internalFrameIconified

public void internalFrameIconified(javax.swing.event.InternalFrameEvent _evt)
Description copied from interface: javax.swing.event.InternalFrameListener
Internal frame iconified

Specified by:
internalFrameIconified in interface javax.swing.event.InternalFrameListener

internalFrameOpened

public void internalFrameOpened(javax.swing.event.InternalFrameEvent _evt)
Description copied from interface: javax.swing.event.InternalFrameListener
Internal frame opened

Specified by:
internalFrameOpened in interface javax.swing.event.InternalFrameListener