|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel org.netbeans.modules.vcscore.ui.AnnotatePanel
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
AnnotatePanel()
|
Method Summary | |
void |
addAuthorColumnDefinition(Method getter,
TableInfoComparator comparator)
Define how to retrieve author from the row object. |
void |
addContentColumnDefinition(Method getter,
TableInfoComparator comparator)
Define how to retrieve content (the actual code line) from the row object. |
void |
addDateColumnDefinition(Method getter,
TableInfoComparator comparator)
Define how to retrieve date from the row object. |
void |
addLine(Object line)
Appends a row object to the model. |
void |
addLineNumColumnDefinition(Method getter,
TableInfoComparator comparator)
Define how to retrieve line Number from the row object. |
void |
addRevisionColumnDefinition(Method getter,
TableInfoComparator comparator)
Define how to retrieve revision from the row object. |
void |
clearAllLines()
Clears the model. |
void |
doRepaintAndSort()
Refreshes the desplay in the table. |
JTable |
getTableComponent()
Utility method for fine-tuning of the table display. |
void |
setFileName(String name)
Sets the name (absolute path?) to the file being desplayed. |
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 |
Constructor Detail |
public AnnotatePanel()
Method Detail |
public void setFileName(String name)
public void addRevisionColumnDefinition(Method getter, TableInfoComparator comparator)
getter
- A method object that is called on the object. It's assumed the method has no parameters and returns Object.comparator
- A comparator that can handle the Object returned by the getter method.public void addLineNumColumnDefinition(Method getter, TableInfoComparator comparator)
getter
- A method object that is called on the object. It's assumed the method has no parameters and returns Object.comparator
- A comparator that can handle the Object returned by the getter method.public void addAuthorColumnDefinition(Method getter, TableInfoComparator comparator)
getter
- A method object that is called on the object. It's assumed the method has no parameters and returns Object.comparator
- A comparator that can handle the Object returned by the getter method.public void addDateColumnDefinition(Method getter, TableInfoComparator comparator)
getter
- A method object that is called on the object. It's assumed the method has no parameters and returns Object.comparator
- A comparator that can handle the Object returned by the getter method.public void addContentColumnDefinition(Method getter, TableInfoComparator comparator)
getter
- A method object that is called on the object. It's assumed the method has no parameters and returns Object.comparator
- A comparator that can handle the Object returned by the getter method.public void doRepaintAndSort()
public void addLine(Object line)
public void clearAllLines()
public JTable getTableComponent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |