com.ibm.dse.tools.workbench.gui
Class TableRowDetailsPane

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JTabbedPane
                          |
                          +--com.ibm.dse.tools.workbench.gui.TableRowDetailsPane

public class TableRowDetailsPane
extends javax.swing.JTabbedPane

This method provides a panel with several information about a TableRow of instance, entity or group.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JTabbedPane
javax.swing.JTabbedPane.AccessibleJTabbedPane, javax.swing.JTabbedPane.ModelListener
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Field Summary
protected static java.lang.String COMPOSITE_LABEL_TEXT
           
protected static java.lang.String DESCRIPTION_TAB_LABEL
           
protected static java.lang.String DETAILS_TAB_LABEL
           
protected static java.lang.String ENTITY_BASE_GROUP_LABEL_TEXT
           
protected static java.lang.String ENTITY_CLASS_LABEL_TEXT
           
protected static java.lang.String ENTITY_EXTENDS_LABEL_TEXT
           
protected static java.lang.String ENTITY_TAG_LABEL_TEXT
           
protected static java.lang.String ERRORS_TAB_LABEL
           
protected static java.lang.String INSTANCE_BASE_GROUP_LABEL_TEXT
           
protected static java.lang.String INSTANCE_ENTITY_LABEL_TEXT
           
protected static java.lang.String INSTANCE_TAG_LABEL_TEXT
           
protected static java.lang.String INSTANTIABLE_LABEL_TEXT
           
protected static java.lang.String OWNER_LABEL_TEXT
           
protected static java.lang.String PREDEFINED_LABEL_TEXT
           
protected static java.lang.String RELEASED_LABEL_TEXT
           
protected static java.lang.String ROOT_LABEL_TEXT
           
protected  TableRow row
           
protected static java.lang.String SECTION
           
protected static java.lang.String TIMESTAMP_LABEL_TEXT
           
protected static java.lang.String VERSION_LABEL_TEXT
           
protected static java.lang.String VERSION_TAB_LABEL
           
protected static java.lang.String VERSIONED_LABEL_TEXT
           
 
Fields inherited from class javax.swing.JTabbedPane
changeEvent, changeListener, model, tabPlacement
 
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
 
Constructor Summary
TableRowDetailsPane()
          This constructor creates a TableRowDetails object.
 
Method Summary
 void flush()
          This method flushes the modified information.
 javax.swing.JTextArea getJTextAreaDescription()
          Return the JTextAreaDescription property value.
protected  java.lang.String getOwnerName(java.lang.String ownerCode)
          This method returns the owner name from an owner code.
 TableRow getRow()
          This method returns the current TableRow.
 boolean isEditable()
          This method returns true if the information can be modified.
 void refresh()
          This method refreshes the information in the panel.
 void setEditable(boolean aBoolean)
          This method sets the fields that can be modified to enabled or disabled.
 void setEditable(boolean versioned, boolean allowTag)
          This method sets the fields that can be modified to enabled or disabled.
 void setRow(TableRow newRow)
          This method sets the TableRow to be inspected.
 
Methods inherited from class javax.swing.JTabbedPane
add, add, add, add, add, addChangeListener, addTab, addTab, addTab, createChangeListener, fireStateChanged, getAccessibleContext, getBackgroundAt, getBoundsAt, getComponentAt, getDisabledIconAt, getForegroundAt, getIconAt, getModel, getSelectedComponent, getSelectedIndex, getTabCount, getTabPlacement, getTabRunCount, getTitleAt, getToolTipText, getUI, getUIClassID, indexOfComponent, indexOfTab, indexOfTab, insertTab, isEnabledAt, paramString, remove, removeAll, removeChangeListener, removeTabAt, setBackgroundAt, setComponentAt, setDisabledIconAt, setEnabledAt, setForegroundAt, setIconAt, setModel, setSelectedComponent, setSelectedIndex, setTabPlacement, setTitleAt, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, processComponentKeyEvent, processFocusEvent, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeContainerListener, setCursor, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SECTION

protected static final java.lang.String SECTION

DESCRIPTION_TAB_LABEL

protected static final java.lang.String DESCRIPTION_TAB_LABEL

VERSION_TAB_LABEL

protected static final java.lang.String VERSION_TAB_LABEL

DETAILS_TAB_LABEL

protected static final java.lang.String DETAILS_TAB_LABEL

ERRORS_TAB_LABEL

protected static final java.lang.String ERRORS_TAB_LABEL

COMPOSITE_LABEL_TEXT

protected static final java.lang.String COMPOSITE_LABEL_TEXT

INSTANTIABLE_LABEL_TEXT

protected static final java.lang.String INSTANTIABLE_LABEL_TEXT

PREDEFINED_LABEL_TEXT

protected static final java.lang.String PREDEFINED_LABEL_TEXT

ROOT_LABEL_TEXT

protected static final java.lang.String ROOT_LABEL_TEXT

RELEASED_LABEL_TEXT

protected static final java.lang.String RELEASED_LABEL_TEXT

VERSIONED_LABEL_TEXT

protected static final java.lang.String VERSIONED_LABEL_TEXT

ENTITY_BASE_GROUP_LABEL_TEXT

protected static final java.lang.String ENTITY_BASE_GROUP_LABEL_TEXT

ENTITY_CLASS_LABEL_TEXT

protected static final java.lang.String ENTITY_CLASS_LABEL_TEXT

ENTITY_EXTENDS_LABEL_TEXT

protected static final java.lang.String ENTITY_EXTENDS_LABEL_TEXT

ENTITY_TAG_LABEL_TEXT

protected static final java.lang.String ENTITY_TAG_LABEL_TEXT

INSTANCE_BASE_GROUP_LABEL_TEXT

protected static final java.lang.String INSTANCE_BASE_GROUP_LABEL_TEXT

INSTANCE_ENTITY_LABEL_TEXT

protected static final java.lang.String INSTANCE_ENTITY_LABEL_TEXT

INSTANCE_TAG_LABEL_TEXT

protected static final java.lang.String INSTANCE_TAG_LABEL_TEXT

OWNER_LABEL_TEXT

protected static final java.lang.String OWNER_LABEL_TEXT

TIMESTAMP_LABEL_TEXT

protected static final java.lang.String TIMESTAMP_LABEL_TEXT

VERSION_LABEL_TEXT

protected static final java.lang.String VERSION_LABEL_TEXT

row

protected TableRow row
Constructor Detail

TableRowDetailsPane

public TableRowDetailsPane()
This constructor creates a TableRowDetails object.
Method Detail

flush

public void flush()
           throws RepositoryException
This method flushes the modified information.
Throws:
RepositoryException -  

getJTextAreaDescription

public javax.swing.JTextArea getJTextAreaDescription()
Return the JTextAreaDescription property value.
Returns:
javax.swing.JTextArea

getOwnerName

protected java.lang.String getOwnerName(java.lang.String ownerCode)
This method returns the owner name from an owner code.
Parameters:
ownerCode - java.lang.String
Returns:
java.lang.String

getRow

public TableRow getRow()
This method returns the current TableRow.
Returns:
com.ibm.dse.tools.workbench.base.TableRow

isEditable

public boolean isEditable()
This method returns true if the information can be modified.
Returns:
boolean

refresh

public void refresh()
This method refreshes the information in the panel.

setEditable

public void setEditable(boolean aBoolean)
This method sets the fields that can be modified to enabled or disabled.
Parameters:
aBoolean - boolean

setEditable

public void setEditable(boolean versioned,
                        boolean allowTag)
This method sets the fields that can be modified to enabled or disabled.
Parameters:
versioned - boolean If true, the fields can't be modified
allowTag - boolean If true,the tag field can be modified

setRow

public void setRow(TableRow newRow)
This method sets the TableRow to be inspected.
Parameters:
newRow - com.ibm.dse.tools.workbench.base.TableRow