|
|||||||||
| Home >> All >> allensoft >> javacvs >> client >> ui >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
allensoft.javacvs.client.ui.swing
Class LogDetailsGraph

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
allensoft.javacvs.client.ui.swing.LogDetailsGraph
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- class LogDetailsGraph
- extends javax.swing.JPanel
Displays log details as a graph in a panel.
| Nested Class Summary | |
private class |
LogDetailsGraph.Branch
Represent a branch on the graph which has a sequence of revisions. |
private class |
LogDetailsGraph.Revision
Represents one Revision object on the graph that displays details about a revision. |
| Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| 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 | |
private java.awt.Color |
m_BranchStartColor
|
private double |
m_dScale
|
private java.awt.FontMetrics |
m_FontMetrics
|
private allensoft.javacvs.client.LogResponse.LogDetails |
m_LogDetails
|
private int |
m_nMaxHeight
|
private int |
m_nMaxWidth
|
private java.awt.Color |
m_RevisionColor
|
private LogDetailsGraph.Branch |
m_RootBranch
|
| 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.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 | |
LogDetailsGraph()
|
|
| Method Summary | |
allensoft.javacvs.client.LogResponse.LogDetails |
getLogDetails()
|
private LogDetailsGraph.Revision |
getRevisionAtPoint(int x,
int y)
|
double |
getScale()
|
java.lang.String |
getToolTipText(java.awt.event.MouseEvent e)
Get the value of the JComponent.toolTipText> JComponent.toolTipText 55 property, in response to a
particular mouse event. |
protected void |
paintComponent(java.awt.Graphics g)
Paint the component's body. |
void |
setLogDetails(allensoft.javacvs.client.LogResponse.LogDetails details)
|
void |
setScale(double d)
|
private void |
updatePreferredSize()
|
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
m_LogDetails
private allensoft.javacvs.client.LogResponse.LogDetails m_LogDetails
m_RootBranch
private LogDetailsGraph.Branch m_RootBranch
m_FontMetrics
private java.awt.FontMetrics m_FontMetrics
m_dScale
private double m_dScale
m_nMaxWidth
private int m_nMaxWidth
m_nMaxHeight
private int m_nMaxHeight
m_BranchStartColor
private java.awt.Color m_BranchStartColor
m_RevisionColor
private java.awt.Color m_RevisionColor
| Constructor Detail |
LogDetailsGraph
public LogDetailsGraph()
| Method Detail |
getLogDetails
public allensoft.javacvs.client.LogResponse.LogDetails getLogDetails()
setLogDetails
public void setLogDetails(allensoft.javacvs.client.LogResponse.LogDetails details)
getScale
public double getScale()
setScale
public void setScale(double d)
updatePreferredSize
private void updatePreferredSize()
getToolTipText
public java.lang.String getToolTipText(java.awt.event.MouseEvent e)
- Description copied from class:
javax.swing.JComponent - Get the value of the JComponent.toolTipText>
JComponent.toolTipText55 property, in response to a particular mouse event.
getRevisionAtPoint
private LogDetailsGraph.Revision getRevisionAtPoint(int x, int y)
paintComponent
protected void paintComponent(java.awt.Graphics g)
- Description copied from class:
javax.swing.JComponent - Paint the component's body. This usually means calling ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)>
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)55 on the JComponent.ui>JComponent.ui55 property of the component, if it is non-null. You may override this if you wish to customize the component's body-painting behavior. The component's body is painted first, before the border and children.
|
|||||||||
| Home >> All >> allensoft >> javacvs >> client >> ui >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC