jcreek.gui.representation
Class URLTypeField

java.lang.Object
  extended byjavax.swing.AbstractCellEditor
      extended byjcreek.gui.representation.AbstractEntityTypeField
          extended byjcreek.gui.representation.URLTypeField
All Implemented Interfaces:
javax.swing.CellEditor, EntityTypeField, javax.swing.ListCellRenderer, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.table.TableCellRenderer

public class URLTypeField
extends AbstractEntityTypeField

See Also:
Serialized Form

Field Summary
protected  java.lang.Object active
           
protected  javax.swing.JTextField editorComponent
           
protected  javax.swing.JEditorPane editorPane
           
protected static java.lang.String EMPTY_URL
           
protected  javax.swing.JLabel label
           
protected  javax.swing.JPanel renderComponent
           
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
URLTypeField()
           
 
Method Summary
 java.lang.Object getCellEditorValue()
           
 java.awt.Component getEditorComponent(java.lang.Object u)
          Implement this method to make a generic editor component that can be used in lists, tables and as parts of components.
 java.awt.Component getRendererComponent(java.lang.Object u)
          Implement this method to make a generic render component that can be used in lists, tables and as parts of components.
 
Methods inherited from class jcreek.gui.representation.AbstractEntityTypeField
addFocusListener, getListCellRendererComponent, getTableCellEditorComponent, getTableCellRendererComponent, getTreeCellEditorComponent
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
 

Field Detail

renderComponent

protected javax.swing.JPanel renderComponent

editorComponent

protected javax.swing.JTextField editorComponent

label

protected javax.swing.JLabel label

editorPane

protected javax.swing.JEditorPane editorPane

EMPTY_URL

protected static java.lang.String EMPTY_URL

active

protected java.lang.Object active
Constructor Detail

URLTypeField

public URLTypeField()
Method Detail

getRendererComponent

public java.awt.Component getRendererComponent(java.lang.Object u)
Description copied from interface: EntityTypeField
Implement this method to make a generic render component that can be used in lists, tables and as parts of components.

Parameters:
u - The value of the field currently
Returns:
The render component.

getEditorComponent

public java.awt.Component getEditorComponent(java.lang.Object u)
Description copied from interface: EntityTypeField
Implement this method to make a generic editor component that can be used in lists, tables and as parts of components.

Parameters:
u - The value of the field currently
Returns:
The editor component.

getCellEditorValue

public java.lang.Object getCellEditorValue()
Specified by:
getCellEditorValue in interface javax.swing.CellEditor
Overrides:
getCellEditorValue in class AbstractEntityTypeField


Created at IDI, NTNU by the Artificial Intelligence and Learning group