adavid.swing
Class JViewer

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--javax.swing.JFrame
                                |
                                +--adavid.swing.JViewer

public class JViewer
extends javax.swing.JFrame
implements java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JFrame
javax.swing.JFrame.AccessibleJFrame
 
Field Summary
static char[] _CODE
           
static char[] _DEPRECATED
           
static char[] _EXCEPTION
           
static char[] _PARAM
           
static char[] _PRE
           
static char[] _RETURN
           
static char[] _SINCE
           
static java.lang.String ANCHOR
           
static java.awt.Color COMMENT1_COLOR
          color constants
static java.awt.Color COMMENTx_COLOR
          color constants
static java.awt.Color FINAL_COLOR
          color constants
static java.awt.Cursor HANDCURSOR
           
static java.awt.Color KEY_COLOR
          color constants
static char[][][] KEYID
           
static java.awt.Color LOOP_COLOR
          color constants
static java.awt.Color MODIF_COLOR
          color constants
static java.awt.Color PRIVATE_COLOR
          color constants
static java.awt.Color PROTECTED_COLOR
          color constants
static java.awt.Color PUBLIC_COLOR
          color constants
static java.awt.Color STRING_COLOR
          color constants
static java.awt.Color SYMBOL_COLOR
          color constants
static java.awt.Color THROW_COLOR
          color constants
static java.awt.Color TYPE_COLOR
          color constants
 
Fields inherited from class javax.swing.JFrame
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.awt.Frame
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, 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.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
JViewer(java.lang.String className, java.lang.String title, java.lang.String content, Assistant master)
          constructor
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          implements ActionListener
static java.lang.String getClassName(java.lang.String extractHere)
           
 java.lang.String getInfoOn(java.lang.String infoname)
           
 void mouseClicked(java.awt.event.MouseEvent e)
          Invoked when the mouse has been clicked on a component.
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseEntered(java.awt.event.MouseEvent e)
           
 void mouseExited(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons no down).
 void mousePressed(java.awt.event.MouseEvent e)
          useless methods from listeners
 void mouseReleased(java.awt.event.MouseEvent e)
           
 void show(java.lang.String h_className, java.lang.String h_title, java.lang.String content)
          show a new content
static void show(java.lang.String className, java.lang.String title, java.lang.String content, Assistant master)
          basically shows the window...
 void showInfo(java.lang.String theDescription)
          show information from a tag/ref basis
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, isResizable, remove, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle
 
Methods inherited from class java.awt.Window
addWindowListener, applyResourceBundle, applyResourceBundle, dispose, getFocusOwner, getInputContext, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, hide, isShowing, pack, postEvent, processEvent, removeWindowListener, setCursor, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFont, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, 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, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HANDCURSOR

public static final java.awt.Cursor HANDCURSOR

ANCHOR

public static final java.lang.String ANCHOR

STRING_COLOR

public static final java.awt.Color STRING_COLOR
color constants

COMMENT1_COLOR

public static final java.awt.Color COMMENT1_COLOR
color constants

COMMENTx_COLOR

public static final java.awt.Color COMMENTx_COLOR
color constants

MODIF_COLOR

public static final java.awt.Color MODIF_COLOR
color constants

PUBLIC_COLOR

public static final java.awt.Color PUBLIC_COLOR
color constants

PROTECTED_COLOR

public static final java.awt.Color PROTECTED_COLOR
color constants

PRIVATE_COLOR

public static final java.awt.Color PRIVATE_COLOR
color constants

THROW_COLOR

public static final java.awt.Color THROW_COLOR
color constants

FINAL_COLOR

public static final java.awt.Color FINAL_COLOR
color constants

KEY_COLOR

public static final java.awt.Color KEY_COLOR
color constants

TYPE_COLOR

public static final java.awt.Color TYPE_COLOR
color constants

SYMBOL_COLOR

public static final java.awt.Color SYMBOL_COLOR
color constants

LOOP_COLOR

public static final java.awt.Color LOOP_COLOR
color constants

KEYID

public static final char[][][] KEYID

_SINCE

public static char[] _SINCE

_RETURN

public static char[] _RETURN

_PARAM

public static char[] _PARAM

_DEPRECATED

public static char[] _DEPRECATED

_EXCEPTION

public static char[] _EXCEPTION

_PRE

public static char[] _PRE

_CODE

public static char[] _CODE
Constructor Detail

JViewer

public JViewer(java.lang.String className,
               java.lang.String title,
               java.lang.String content,
               Assistant master)
constructor
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
implements ActionListener
Specified by:
actionPerformed in interface java.awt.event.ActionListener

showInfo

public void showInfo(java.lang.String theDescription)
show information from a tag/ref basis

getClassName

public static java.lang.String getClassName(java.lang.String extractHere)
Returns:
the extracted class name or the default one if not found

show

public void show(java.lang.String h_className,
                 java.lang.String h_title,
                 java.lang.String content)
show a new content

show

public static void show(java.lang.String className,
                        java.lang.String title,
                        java.lang.String content,
                        Assistant master)
basically shows the window...

getInfoOn

public java.lang.String getInfoOn(java.lang.String infoname)
Parameters:
infoname - full.class.name#a_method name or just full.class.name

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)
Invoked when the mouse has been clicked on a component.
Specified by:
mouseClicked in interface java.awt.event.MouseListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
useless methods from listeners
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent e)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons no down).
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener