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

Quick Search    Search Deep

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

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Window
              extended byjava.awt.Frame
                  extended byjavax.swing.JFrame
                      extended bycom.memoire.bu.BuApplication
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, javax.swing.WindowConstants, java.awt.event.WindowListener
Direct Known Subclasses:
BuMacEnv

public class BuApplication
extends javax.swing.JFrame
implements BuCommonInterface, java.awt.event.WindowListener, javax.swing.event.InternalFrameListener

A root class for stand-alone applications. Compatible with Bu et Swing. Delegates quite everything to BuCommonImplementation.


Nested Class Summary
 
Nested classes inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Nested classes inherited from class java.awt.Frame
java.awt.Frame.AccessibleAWTFrame
 
Nested classes inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow
 
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.JFrame
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
 
Fields inherited from class java.awt.Window
 
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 javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
BuApplication()
           
 
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()
           
 java.awt.Image getIconImage()
          Returns this frame's icon.
 BuCommonImplementation getImplementation()
           
 BuInformationsSoftware getInformationsSoftware()
           
 BuMenuBar getMainMenuBar()
           
 BuMainPanel getMainPanel()
           
 BuToolBar getMainToolBar()
           
 BuSpecificBar getSpecificBar()
           
 void init()
           
 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()
           
static void main(java.lang.String[] _args)
           
 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 setVisible(boolean _visible)
          Makes this component visible or invisible.
 void showOrHide(java.lang.String _cmd, javax.swing.JComponent _c)
           
 void start()
           
 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.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getPreferredSize, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, getCursorType, getExtendedState, getFrames, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
 
Methods inherited from class java.awt.Window
addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getGraphicsConfiguration, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
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, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, 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, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, 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, setTitle, validate
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

implementation_

protected BuCommonImplementation implementation_
Constructor Detail

BuApplication

public BuApplication()
Method Detail

init

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

start

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

getIconImage

public java.awt.Image getIconImage()
Description copied from class: java.awt.Frame
Returns this frame's icon.


getApp

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

getImplementation

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

setImplementation

public void setImplementation(BuCommonImplementation _implementation)

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

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

duplicate

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

find

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

license

public void license()
Specified by:
license 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

main

public static void main(java.lang.String[] _args)