Author: tfmorris
Date: 2007-12-07 20:10:42-0800
New Revision: 13876
Modified:
trunk/src_new/org/argouml/ui/cmd/SettingsTabShortcuts.java
Log:
Add missing Javadoc
Modified: trunk/src_new/org/argouml/ui/cmd/SettingsTabShortcuts.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/ui/cmd/SettingsTabShortcuts.java?view=diff&rev=13876&p1=trunk/src_new/org/argouml/ui/cmd/SettingsTabShortcuts.java&p2=trunk/src_new/org/argouml/ui/cmd/SettingsTabShortcuts.java&r1=13875&r2=13876
==============================================================================
--- trunk/src_new/org/argouml/ui/cmd/SettingsTabShortcuts.java (original)
+++ trunk/src_new/org/argouml/ui/cmd/SettingsTabShortcuts.java 2007-12-07 20:10:42-0800
@@ -502,6 +502,7 @@
/*
* @see javax.swing.table.TableModel#getColumnName(int)
*/
+ @Override
public String getColumnName(int col) {
return columnNames[col];
}
@@ -530,6 +531,7 @@
* @see javax.swing.table.TableModel#setValueAt( java.lang.Object, int,
* int)
*/
+ @Override
public void setValueAt(Object ob, int row, int col) {
// if the given object is a KeyStroke instance, then we ca
if (ob instanceof Action) {
@@ -574,6 +576,7 @@
/*
* @see javax.swing.table.TableModel#isCellEditable(int, int)
*/
+ @Override
public boolean isCellEditable(int row, int col) {
return false;
}
@@ -586,7 +589,7 @@
}
/**
- * Argo's renderer for a KeyStroke object
+ * TableCellRenderer for a KeyStroke object.
*
* @author [email protected]
*/
@@ -596,6 +599,9 @@
*/
private static final long serialVersionUID = -7086302679799095974L;
+ /**
+ * Construct a table cell rendered for key strokes.
+ */
public KeyStrokeCellRenderer() {
super();
setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
@@ -606,6 +612,7 @@
*
* @see javax.swing.table.DefaultTableCellRenderer#setValue(java.lang.Object)
*/
+ @Override
public void setValue(Object value) {
if (value != null && value instanceof KeyStroke) {
value = KeyEventUtils.formatKeyStroke((KeyStroke) value);
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.