Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.jdevimpl.audit.log
Class AuditLogPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by oracle.jdevimpl.audit.log.AuditLogPanel

All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.TreeSelectionListener, ContextMenuListener, Controller, TransformerListener, AuditTreeTable.RowActionListener

public class AuditLogPanel
extends javax.swing.JPanel
implements ContextMenuListener, Controller, javax.swing.event.TreeSelectionListener, AuditTreeTable.RowActionListener, TransformerListener

The UI component for the Audit log page.

See Also:
Serialized Form

Nested Class Summary

 

Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel

 

Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent

 

Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer

 

Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy

 

Field Summary
static int ABOUT_CID
           
static int CANCEL_CID
           
static int COLLAPSE_ALL_CID
           
static int DEFAULT_FIX_CID
           
static int EXPAND_ALL_CID
           
static int EXPORT_CID
           
static int FIX_CID
           
static int GOTO_SOURCE_CID
           
static int GROUP_CID
           
static int HIDE_ISSUES_CID
           
static int REFRESH_CID
           
static int SHOW_ADVISORIES_CID
           
static int SHOW_ANOMALIES_CID
           
static int SHOW_ERRORS_CID
           
static int SHOW_INCOMPLETES_CID
           
static int SHOW_WARNINGS_CID
           
static int UNHIDE_ALL_ISSUES_CID
           

 

Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW

 

Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT

 

Fields inherited from interface oracle.ide.controller.Controller
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED

 

Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH

 

Method Summary
 void addMouseListener(java.awt.event.MouseListener listener)
           
 void auditStarted(AuditModel model, java.util.List<Metric> columns, java.lang.Object root)
           
 void auditStopped(AuditModel model, boolean cancelled)
           
 void clear()
           
 AuditModel getModel()
           
 AuditTreeTable getTable()
           
 Toolbar getToolBar()
           
 java.awt.Component getTopComponent()
           
 boolean handleDefaultAction(Context context)
          Called when the user double clicks on an item that has a context menu.
 boolean handleEvent(IdeAction action, Context context)
          This method is called when a user interaction with a View triggers the execution of a command.
 void menuWillHide(ContextMenu menu)
          This method is called just before a showing context menu is dismissed.
 void menuWillShow(ContextMenu menu)
          Called just before the context menu is shown.
 void modelSaved(ModelAdapter model)
          Reports that a model was saved.
 void modelWritable(ModelAdapter model)
          Reports that a model was made writable.
 void removeMouseListener(java.awt.event.MouseListener listener)
           
 void rowActionPerformed(AuditTreeTable table, int row)
           
 boolean saveFailed(java.lang.Throwable exception, ModelAdapter model, java.lang.String label)
          Reports that saving a model failed.
 void setLocationRelativeTo(javax.swing.JDialog dialog, java.awt.Component c)
           
 java.lang.String toString()
           
 boolean transformFailed(java.lang.Throwable exception, Violation violation, Transform transform, java.lang.String label)
          Reports that a transform failed.
 boolean update(IdeAction action, Context context)
          This method updates the enabled status of the specified action within the specified context.
 void valueChanged(javax.swing.event.TreeSelectionEvent e)
           

 

Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI

 

Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update

 

Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree

 

Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, transferFocus, transferFocusUpCycle

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

REFRESH_CID

public static final int REFRESH_CID

CANCEL_CID

public static final int CANCEL_CID

EXPORT_CID

public static final int EXPORT_CID

EXPAND_ALL_CID

public static final int EXPAND_ALL_CID

COLLAPSE_ALL_CID

public static final int COLLAPSE_ALL_CID

GROUP_CID

public static final int GROUP_CID

SHOW_ANOMALIES_CID

public static final int SHOW_ANOMALIES_CID

SHOW_ERRORS_CID

public static final int SHOW_ERRORS_CID

SHOW_WARNINGS_CID

public static final int SHOW_WARNINGS_CID

SHOW_INCOMPLETES_CID

public static final int SHOW_INCOMPLETES_CID

SHOW_ADVISORIES_CID

public static final int SHOW_ADVISORIES_CID

GOTO_SOURCE_CID

public static final int GOTO_SOURCE_CID

ABOUT_CID

public static final int ABOUT_CID

FIX_CID

public static final int FIX_CID

DEFAULT_FIX_CID

public static final int DEFAULT_FIX_CID

HIDE_ISSUES_CID

public static final int HIDE_ISSUES_CID

UNHIDE_ALL_ISSUES_CID

public static final int UNHIDE_ALL_ISSUES_CID

Method Detail

getModel

public AuditModel getModel()

getTopComponent

public java.awt.Component getTopComponent()

getToolBar

public Toolbar getToolBar()

clear

public void clear()

auditStarted

public void auditStarted(AuditModel model,
                         java.util.List<Metric> columns,
                         java.lang.Object root)

auditStopped

public void auditStopped(AuditModel model,
                         boolean cancelled)

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener

rowActionPerformed

public void rowActionPerformed(AuditTreeTable table,
                               int row)
Specified by:
rowActionPerformed in interface AuditTreeTable.RowActionListener

addMouseListener

public void addMouseListener(java.awt.event.MouseListener listener)
Overrides:
addMouseListener in class java.awt.Component

removeMouseListener

public void removeMouseListener(java.awt.event.MouseListener listener)
Overrides:
removeMouseListener in class java.awt.Component

handleDefaultAction

public boolean handleDefaultAction(Context context)
Description copied from interface: ContextMenuListener
Called when the user double clicks on an item that has a context menu. If the listener handles the action, then it must return true; otherwise it must return false. Processing of handleDefaultAction stops on the first return of true.
Specified by:
handleDefaultAction in interface ContextMenuListener
Parameters:
context - the context on which the default action needs to occur.

menuWillHide

public void menuWillHide(ContextMenu menu)
Description copied from interface: ContextMenuListener
This method is called just before a showing context menu is dismissed. Most implementations should not do anything in this method. In particular, it is not necessary to clean out menu items or submenus that were added during ContextMenuListener.menuWillShow(oracle.ide.controller.ContextMenu), since the IDE takes care of that automatically.
Specified by:
menuWillHide in interface ContextMenuListener
Parameters:
menu - the context menu being hidden

menuWillShow

public void menuWillShow(ContextMenu menu)
Description copied from interface: ContextMenuListener
Called just before the context menu is shown. Implementations should add their items to the context menu here.
Specified by:
menuWillShow in interface ContextMenuListener
Parameters:
menu - the context menu being shown

update

public boolean update(IdeAction action,
                      Context context)
Description copied from interface: Controller
This method updates the enabled status of the specified action within the specified context. It should generally be called on the controller associated with the active view to allow that controller to take the first crack at determining its enabled status. If that controller wants to update its enabled status, it does so and returns true to indicate that further controllers do not need to be consulted. If the controller does not deal with setting the enabled status of an action, it delegates the request to its supervising controller, all the way up to the Ide. The Ide has a special implementation of update(xx) that further delegates the request to root controllers, until one of them returns true indicating the request was handled by the controller.
Specified by:
update in interface Controller
Parameters:
action - action whose command is to be executed.
context - the current context
Returns:
true if the controller handles the specified command.

handleEvent

public boolean handleEvent(IdeAction action,
                           Context context)
Description copied from interface: Controller
This method is called when a user interaction with a View triggers the execution of a command.
Specified by:
handleEvent in interface Controller
Parameters:
action - action whose command is to be executed.
Returns:
true if the controller handles the specified command.

setLocationRelativeTo

public void setLocationRelativeTo(javax.swing.JDialog dialog,
                                  java.awt.Component c)

toString

public java.lang.String toString()
Overrides:
toString in class java.awt.Component

modelWritable

public void modelWritable(ModelAdapter model)
Description copied from interface: TransformerListener
Reports that a model was made writable.
Specified by:
modelWritable in interface TransformerListener

transformFailed

public boolean transformFailed(java.lang.Throwable exception,
                               Violation violation,
                               Transform transform,
                               java.lang.String label)
Description copied from interface: TransformerListener
Reports that a transform failed. The transformer does not hold a read lock on the model the transform was attempting to modify, but the transform is bound to the violation.
Specified by:
transformFailed in interface TransformerListener
Parameters:
exception - The exception that indicated failure.
violation - The violation being associated with the transform.
transform - The transform that failed.
label - The label for the transform transaction.
Returns:
true to continue the transaction, false to abort it.

modelSaved

public void modelSaved(ModelAdapter model)
Description copied from interface: TransformerListener
Reports that a model was saved.
Specified by:
modelSaved in interface TransformerListener
Parameters:
model - The model that was saved.

saveFailed

public boolean saveFailed(java.lang.Throwable exception,
                          ModelAdapter model,
                          java.lang.String label)
Description copied from interface: TransformerListener
Reports that saving a model failed.
Specified by:
saveFailed in interface TransformerListener
Parameters:
exception - The exception that indicated failure.
model - The model which could not be saved.
label - The label for the transform transaction.
Returns:
true to continue the transaction, false to abort it.

getTable

public AuditTreeTable getTable()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.