|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.view.View oracle.ide.log.AbstractLogPage oracle.jdevimpl.audit.log.AuditLogPage
public class AuditLogPage
An Audit results log page.
To release resources when the page is closed, the only straightforward
way I've found is to do it from the removeMouseListener(java.awt.event.MouseListener)
method.
Field Summary |
---|
Fields inherited from class oracle.ide.view.View |
---|
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
Method Summary | |
---|---|
void |
addMouseListener(java.awt.event.MouseListener listener)
This implemenation does nothing. |
void |
appliedTransformsChanged(AuditModel model,
java.lang.Object row,
java.util.List<Transform> appliedTransforms)
Reports that the transforms applied to this model have changed. |
static AuditLogPage |
auditLogPage(Auditor auditor,
AuditModel model,
java.lang.String label)
Creates the log page for an auditor and a model bound to it. |
void |
auditStarted(AuditModel model,
java.util.List<Metric> columns,
java.util.List<Location> locations,
java.lang.Object root,
java.lang.Class type)
Reports that an audit has started on this model. |
void |
auditStopped(AuditModel model,
boolean cancelled)
Reports that an audit has stopped on this model. |
void |
clearAll()
Clear all currently displayed messages. |
void |
countChanged(AuditModel model,
java.lang.Object row,
AuditModel.Count count,
int oldValue,
int newValue)
Reports that a count of a row changed in a model. |
Auditor |
getAuditor()
Gets the Auditor for this log page. |
ContextMenu |
getContextMenu()
|
Controller |
getController()
Get the Controller associated with this view. |
java.awt.Component |
getGUI()
|
HelpInfo |
getHelpInfo()
|
AuditModel |
getModel()
Gets the AuditModel for this log page. |
AuditTreeTable |
getTable()
|
Toolbar |
getToolbar()
Get the toolbar associated with this view. |
java.lang.String |
getToolTip()
Get the tooltip to display when this page is tabbed. |
java.awt.Component |
getTopComponent()
Gets the component to put in the top component position in the log page display By default returns getLogPageView().getToolbar() |
static boolean |
isReady(java.lang.String label)
Gets whether the log page for an auditor is ready to be reused. |
protected void |
logMsg(java.lang.Object message)
Display the specified msg . |
void |
modelResorted(AuditModel model)
Reports that the model has been resorted. |
void |
removeMouseListener(java.awt.event.MouseListener listener)
This implemenation does nothing. |
void |
rowsHidden(AuditModel model,
java.util.List<?> rows,
java.lang.Object visibleParent,
int visibleIndex)
Reports that rows were shown in a model. |
void |
rowsInserted(AuditModel model,
java.util.List<?> rows,
java.lang.Object parent,
int index)
Reports that rows were inserted into a model. |
void |
rowsRemoved(AuditModel model,
java.util.List<?> rows,
java.lang.Object parent,
int index)
Reports that rows were removed from a model. |
void |
rowsRestructureBegin(AuditModel model,
java.lang.Object parent,
java.lang.Object visibleParent)
Reports that a restructure of the descendants of a row has begun. |
void |
rowsRestructureEnd(AuditModel model,
java.lang.Object parent,
java.lang.Object visibleParent)
Reports that a restructure of the descendants of a row has ended. |
void |
rowsShown(AuditModel model,
java.util.List<?> rows,
java.lang.Object visibleParent,
int visibleIndex)
Reports that rows were shown in a model. |
static AuditModel |
runShow(Auditor auditor,
java.lang.String label,
java.lang.Thread.UncaughtExceptionHandler handler)
Creates the log page for an auditor. |
java.lang.String |
toString()
|
void |
valueChanged(AuditModel model,
java.lang.Object row,
int column,
java.lang.Object oldValue,
java.lang.Object newValue)
Reports that a column value of a row changed in a model. |
Methods inherited from class oracle.ide.log.AbstractLogPage |
---|
close, getBottomComponent, getLogPageView, getTabIcon, getTabName, getTitleName, isDisplayComponentScrollable, isVisible, log, log, logQuietly, requestShow, requestShow, setOwner, show, tabNameUpdated |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static AuditLogPage auditLogPage(Auditor auditor, AuditModel model, java.lang.String label)
auditor
- The auditor which will run the audit.model
- The model attached to the auditor.label
- The label of the log page.
public static AuditModel runShow(Auditor auditor, java.lang.String label, java.lang.Thread.UncaughtExceptionHandler handler)
AuditModelListener.auditStarted(oracle.jdeveloper.audit.service.AuditModel, java.util.List, java.util.List, java.lang.Object, java.lang.Class)
method.
auditor
- The auditor running the audit to be logged.label
- The label of the log page.
public Auditor getAuditor()
Auditor
for this log page.
public AuditModel getModel()
AuditModel
for this log page.
public static boolean isReady(java.lang.String label)
label
- the label of the log page to test.
public java.lang.String getToolTip()
LogPage
getToolTip
in interface LogPage
getToolTip
in class AbstractLogPage
public HelpInfo getHelpInfo()
getHelpInfo
in interface Helpable
getHelpInfo
in class View
public java.awt.Component getTopComponent()
AbstractLogPage
getTopComponent
in class AbstractLogPage
public Toolbar getToolbar()
View
getToolbar
in class View
public void auditStarted(AuditModel model, java.util.List<Metric> columns, java.util.List<Location> locations, java.lang.Object root, java.lang.Class type)
AuditModelListener
auditStarted
in interface AuditModelListener
model
- the affected model.columns
- the columns.locations
- the locations specified.root
- the root.public void auditStopped(AuditModel model, boolean cancelled)
AuditModelListener
auditStopped
in interface AuditModelListener
model
- the affected model.cancelled
- whether the audit was cancelled.public void rowsInserted(AuditModel model, java.util.List<?> rows, java.lang.Object parent, int index)
AuditModelListener
The inserted row is childless and not visible.
The model invokes AuditModelListener.rowsShown(oracle.jdeveloper.audit.service.AuditModel, java.util.List>, java.lang.Object, int)
immediately after this method for any
of the rows that are visible.
The model propagates visibility or count changes to the parent row and its
ancestors as described in the class
comment.
rowsInserted
in interface AuditModelListener
model
- The changed model.rows
- The shown rows, adjacent if more than one.parent
- The parent of the row.index
- The index of the shown rows in the parent.public void rowsRemoved(AuditModel model, java.util.List<?> rows, java.lang.Object parent, int index)
AuditModelListener
AuditModelListener.rowsHidden(oracle.jdeveloper.audit.service.AuditModel, java.util.List>, java.lang.Object, int)
immediately before this method
for any of the rows that were visible.
The model propagates visibility or count changes to the parent row and its
ancestors as described in the class
comment.
rowsRemoved
in interface AuditModelListener
model
- The changed model.rows
- The removed rows, adjacent if more than one.parent
- The parent of the removed rows.index
- The index of the removed rows in the parent.public void rowsShown(AuditModel model, java.util.List<?> rows, java.lang.Object visibleParent, int visibleIndex)
AuditModelListener
AuditModelListener.countChanged(oracle.jdeveloper.audit.service.AuditModel, java.lang.Object, oracle.jdeveloper.audit.service.AuditModel.Count, int, int)
immediately after this method for each changed count
of the parent row.
The model propagates visibility or count changes to the parent row and its
ancestors as described in the class
comment.
rowsShown
in interface AuditModelListener
model
- The changed model.rows
- The shown rows, adjacent if more than one.visibleParent
- The visible parent row of the shown rows.visibleIndex
- The visible index of the shown rows in the visible parent.public void rowsHidden(AuditModel model, java.util.List<?> rows, java.lang.Object visibleParent, int visibleIndex)
AuditModelListener
AuditModelListener.countChanged(oracle.jdeveloper.audit.service.AuditModel, java.lang.Object, oracle.jdeveloper.audit.service.AuditModel.Count, int, int)
immediately after this method for each changed count
of the parent row.
The model propagates visibility or count changes to the parent row and its
ancestors as described in the class
comment.
rowsHidden
in interface AuditModelListener
model
- The changed model.rows
- The hidden rows, adjacent if more than one.visibleParent
- The visible parent row of the hidden rows.visibleIndex
- The visible index of the hidden rows in the visible parent.public void rowsRestructureBegin(AuditModel model, java.lang.Object parent, java.lang.Object visibleParent)
AuditModelListener
rowsRestructureBegin
in interface AuditModelListener
model
- The changed model.parent
- The parent of the restructured rows.visibleParent
- The visible parent row of the restructured rows.public void rowsRestructureEnd(AuditModel model, java.lang.Object parent, java.lang.Object visibleParent)
AuditModelListener
rowsRestructureEnd
in interface AuditModelListener
model
- The changed model.parent
- The parent of the restructured rows.visibleParent
- The visible parent row of the restructured rows.public void countChanged(AuditModel model, java.lang.Object row, AuditModel.Count count, int oldValue, int newValue)
AuditModelListener
The model propagates visibility or count changes to the parent row and its
ancestors as described in the class
comment.
countChanged
in interface AuditModelListener
model
- The changed model.row
- The changed row in the model.count
- The count that change.oldValue
- The old value of the count.newValue
- The new value of the count.public void valueChanged(AuditModel model, java.lang.Object row, int column, java.lang.Object oldValue, java.lang.Object newValue)
AuditModelListener
AuditModelListener.rowsHidden(oracle.jdeveloper.audit.service.AuditModel, java.util.List>, java.lang.Object, int)
, AuditModelListener.rowsRemoved(oracle.jdeveloper.audit.service.AuditModel, java.util.List>, java.lang.Object, int)
, AuditModelListener.rowsInserted(oracle.jdeveloper.audit.service.AuditModel, java.util.List>, java.lang.Object, int)
,
and AuditModelListener.rowsShown(oracle.jdeveloper.audit.service.AuditModel, java.util.List>, java.lang.Object, int)
as needed.
valueChanged
in interface AuditModelListener
model
- The changed model.row
- The changed row in the model.column
- The column index of the changed value.oldValue
- The old value.newValue
- The new value.public void modelResorted(AuditModel model)
AuditModelListener
modelResorted
in interface AuditModelListener
model
- The resorted model.public void appliedTransformsChanged(AuditModel model, java.lang.Object row, java.util.List<Transform> appliedTransforms)
AuditModelListener
appliedTransformsChanged
in interface AuditModelListener
model
- The changed model.row
- The row in the model just restructured.appliedTransforms
- The transforms applied to the row.public java.awt.Component getGUI()
getGUI
in class View
public void clearAll()
LogPage
clearAll
in interface LogPage
clearAll
in class AbstractLogPage
protected void logMsg(java.lang.Object message)
AbstractLogPage
msg
. Subclasses must override
this method instead of the log
method. The log
method makes sure that the page is visible before calling this
method.
logMsg
in class AbstractLogPage
message
- the message to display.public Controller getController()
ControllerProvider
Controller
associated with this view.
getController
in interface ControllerProvider
getController
in class AbstractLogPage
public ContextMenu getContextMenu()
getContextMenu
in class View
ContextMenu
, if any.public void addMouseListener(java.awt.event.MouseListener listener)
AbstractLogPage
addMouseListener
in interface LogPage
addMouseListener
in class AbstractLogPage
listener
- mouse listener responsible for displaying a context menu.public void removeMouseListener(java.awt.event.MouseListener listener)
AbstractLogPage
removeMouseListener
in interface LogPage
removeMouseListener
in class AbstractLogPage
listener
- mouse listener responsible for displaying a context menu.public java.lang.String toString()
toString
in class View
public AuditTreeTable getTable()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |