com.jaxfront.swing.ui.visualizers
Class SimpleGroupListView

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by com.jaxfront.swing.ui.visualizers.AbstractView
                      extended by com.jaxfront.swing.ui.visualizers.AbstractListTypeView
                          extended by com.jaxfront.swing.ui.visualizers.AbstractSimpleListView
                              extended by com.jaxfront.swing.ui.visualizers.SimpleGroupListView
All Implemented Interfaces:
DOMChangeListener, ComplexVisualizer, ListVisualizer, TabbableView, Visualizer, java.awt.event.ActionListener, java.awt.event.FocusListener, java.awt.event.ItemListener, java.awt.event.MouseListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.AncestorListener, javax.swing.event.ChangeListener, javax.swing.event.ListSelectionListener, javax.swing.event.PopupMenuListener

public class SimpleGroupListView
extends AbstractSimpleListView

This class represents a SimpleGroupListView which is derived from the class AbstractListTypeView. This class is responsible for the drawing of GUI elements for the JAXFront type SimpleGroupList. A SimpleGroupList maintains a list of SimpleGroups.

Version:
1.4.1
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Field Summary
 
Fields inherited from class com.jaxfront.swing.ui.visualizers.AbstractListTypeView
ADD_ACTION_NAME, COPY_ACTION_NAME, COPY_CONTENT_ACTION_NAME, DELETE_ACTION_NAME, EDIT_ACTION_NAME, MOVE_DOWN_ACTION_NAME, MOVE_UP_ACTION_NAME, PASTE_CONTENT_ACTION_NAME
 
Fields inherited from class com.jaxfront.swing.ui.visualizers.AbstractView
FILL, FILL_NO_GROW, HEADER_HEIGHT_OFFSET, PROPERTY_USER_CHANGED_SERIALIZE
 
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, 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
SimpleGroupListView(Type type)
          SimpleGroupListView constructor.
SimpleGroupListView(Type type, Type context)
          SimpleGroupListView constructor.
 
Method Summary
 void selectModel(SimpleGroup model)
          Selects the given model in the table.
 void selectType(Type model)
          Selects the view of the given type in the table.
 
Methods inherited from class com.jaxfront.swing.ui.visualizers.AbstractListTypeView
actionPerformed, addAddListener, addCopyListener, addDeleteListener, addEditListener, addMoveDownListener, addMoveUpListener, addTab, addTab, ancestorAdded, ancestorMoved, ancestorRemoved, canModifyList, delete, doAddAction, doCopyAction, doDeleteAction, domChanged, doMoveDownAction, doMoveUpAction, fireButtonListeners, focusLost, getButtonListeners, getDataTable, getEditDialog, getEditDialog, getListModel, getLowerButtonPanel, getPopUpListener, getSelectedTabType, getSelectedTabVisualizer, getSelectedType, getSelectedTypes, getUpperButtonPanel, getUserActions, handleButtonEnabling, isDialogEditMode, itemStateChanged, markError, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, populateModel, populateView, popupMenuCanceled, popupMenuWillBecomeInvisible, popupMenuWillBecomeVisible, postInitialization, propertyChange, release, removeAddListener, removeButtonPanel, removeCopyListener, removeDeleteListener, removeMoveDownListener, removeMoveUpListener, removeTab, resetError, resetView, selectTab, selectType, setAddActionEnabled, setApplicationRequired, setBorder, setChoosenKeyContextValue, setChoosenKeyValue, setCopyActionEnabled, setCopyContentActionEnabled, setDeleteActionEnabled, setDialogLcation, setDialogSize, setEditable, setEditActionEnabled, setEnabled, setLabelColor, setMoveDownActionEnabled, setMoveUpActionEnabled, setPasteContentActionEnabled, setRequired, setVisible, showLabel, showModel, showTab, showUpDownButtons, stateChanged, stopCellEditing, valueChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
 
Methods inherited from class com.jaxfront.swing.ui.visualizers.AbstractView
addNewChild, addTreeNode, createTabActionIcon, doUserSerialization, focusComponent, focusFirstComponent, focusGained, getBorderPanel, getChoiceComboBox, getColumnSpecLabelAndComponent, getContext, getDefaultBackgroundColor, getDOM, getEditorComponent, getEditorComponentPanel, getFirstFocusableComponent, getHintTextLabel, getImplementation, getLabel, getLabelPanel, getLabelPanel, getLabelText, getModel, getPercentageColumnSpecComponent, getRowSpec, getRowSpecArray, getRowSpecDefaultComponentHeight, getStyle, getTableLabelComponent, getVisualizerPanel, isRunningInDialog, isViewReleased, jumpTo, removeHint, removeLabel, removeMessage, removeTreeNode, scrollToView, setCodeSetValues, setEditorComponent, setEnabled, setFirstFocusableComponent, setLabelText, setModel, setSerializable, setTableLableComponent, setTreeIcon, setUserSerializable, setValues, setVisibleAndSerializable, showHint, showMessage, uiAction, useUserModifiedSerialization
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jaxfront.core.ui.Visualizer
getContext, getImplementation, getLabelText, getModel, isViewReleased, jumpTo, removeLabel, setLabelText, setModel
 

Constructor Detail

SimpleGroupListView

public SimpleGroupListView(Type type)
SimpleGroupListView constructor.

Parameters:
type - the underlying model (type) for this view

SimpleGroupListView

public SimpleGroupListView(Type type,
                           Type context)
SimpleGroupListView constructor.

Parameters:
type - the underlying model (type) for this view
Method Detail

selectType

public void selectType(Type model)
Selects the view of the given type in the table.

Specified by:
selectType in interface ListVisualizer
Overrides:
selectType in class AbstractListTypeView
Parameters:
simpleType - the given type

selectModel

public void selectModel(SimpleGroup model)
Selects the given model in the table.

Parameters:
model - the given model