com.jurismarches.vradi.ui.admin.content
Class AdminGroupUI

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.jurismarches.vradi.ui.admin.AdminContentUI<com.jurismarches.vradi.entities.Group>
                      extended by com.jurismarches.vradi.ui.admin.content.AdminGroupUI
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject, jaxx.runtime.JAXXValidator

public class AdminGroupUI
extends AdminContentUI<com.jurismarches.vradi.entities.Group>
implements jaxx.runtime.JAXXValidator

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
protected  jaxx.runtime.swing.Table adminGroupForm
           
protected  com.jurismarches.vradi.entities.Group bean
           
static String BINDING_CREATE_BUTTON_ENABLED
           
static String BINDING_GROUP_NAME_TEXT
           
static String BINDING_REQUEST_LIST_UI_BEAN
           
static String BINDING_TITLE_TEXT
           
static String BINDING_VALIDATOR_BEAN
           
protected  JButton createButton
           
protected  JTextField groupName
           
protected  UserListSelectorHandler groupUserHandler
           
protected  jaxx.runtime.swing.ListSelectorUI<com.jurismarches.vradi.entities.User> groupUsers
           
static String PROPERTY_BEAN
           
static String PROPERTY_GROUP_USER_HANDLER
           
protected  RequestListUI requestListUI
           
protected  JLabel title
           
protected  jaxx.runtime.validator.swing.SwingValidator<com.jurismarches.vradi.entities.Group> validator
           
protected  List<String> validatorIds
           
 
Fields inherited from class com.jurismarches.vradi.ui.admin.AdminContentUI
$activeBindings, $bindings, $bindingSources, $objectMap, $previousValues, BINDING_BLOCK_LAYER_UI_BLOCK, BINDING_CANCEL_ENABLED, BINDING_COMMON_ACTIONS_VISIBLE, BINDING_CREATE_ENABLED, BINDING_CREATE_VISIBLE, BINDING_SAVE_ENABLED, BINDING_SAVE_VISIBLE, blockLayerUI, body, cancel, commonActions, create, creation, delegateContext, errorTable, lastModifiedPanel, modified, PROPERTY_CREATION, PROPERTY_MODIFIED, PROPERTY_VALIDE, save, toolbar, valide
 
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
AdminGroupUI()
           
AdminGroupUI(jaxx.runtime.JAXXContext parentContext)
           
 
Method Summary
static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
           
protected  void addChildrenToAdminGroupForm()
           
protected  void addChildrenToBody()
           
protected  void addChildrenToToolbar()
           
protected  void addChildrenToValidator()
           
protected  void clearUI()
           
protected  void createAdminGroupForm()
           
protected  void createBean()
           
protected  void createBody()
           
protected  void createCreateButton()
           
protected  void createGroupName()
           
protected  void createGroupUserHandler()
           
protected  void createGroupUsers()
           
protected  void createRequestListUI()
           
protected  void createTitle()
           
protected  void createToolbar()
           
protected  void createValidator()
           
 void doActionPerformed__on__$JButton0(ActionEvent event)
           
 void doActionPerformed__on__createButton(ActionEvent event)
           
 void doKeyReleased__on__groupName(KeyEvent event)
           
protected  JButton get$JButton0()
           
protected  JLabel get$JLabel0()
           
protected  JLabel get$JLabel1()
           
protected  JPanel get$JPanel0()
           
 jaxx.runtime.swing.Table getAdminGroupForm()
           
 com.jurismarches.vradi.entities.Group getBean()
           
 JButton getCreateButton()
           
 JTextField getGroupName()
           
 UserListSelectorHandler getGroupUserHandler()
           
 jaxx.runtime.swing.ListSelectorUI<com.jurismarches.vradi.entities.User> getGroupUsers()
           
 RequestListUI getRequestListUI()
           
 JLabel getTitle()
           
 jaxx.runtime.validator.swing.SwingValidator<com.jurismarches.vradi.entities.Group> getValidator()
           
 jaxx.runtime.validator.swing.SwingValidator<?> getValidator(String validatorId)
           
 List<String> getValidatorIds()
           
protected  void postLoadBean()
          Fill groups and users ListSelectorUI.
 void registerValidatorFields()
           
 void save()
          Save the editing bean
 void setBean(com.jurismarches.vradi.entities.Group newValue)
           
 void setGroupUserHandler(UserListSelectorHandler newValue)
           
protected  String updateTitle(String name)
           
 
Methods inherited from class com.jurismarches.vradi.ui.admin.AdminContentUI
addBusinessEntityModifiedPCS, addBusinessEntityPCSLogger, addChildrenToCommonActions, addPCSLogger, applyDataBinding, cancel, createBlockLayerUI, createCancel, createCommonActions, createCreate, createCreation, createErrorTable, createLastModifiedPanel, createModified, createSave, createValide, doActionPerformed__on__cancel, doActionPerformed__on__create, doActionPerformed__on__save, doTableChanged__on__errorTable, firePropertyChange, get$JPanel1, get$objectMap, getBlockLayerUI, getBody, getCancel, getCommonActions, getContextValue, getContextValue, getCreate, getCreation, getDataBindings, getDelegateContext, getErrorTable, getHandler, getHelper, getLastModifiedPanel, getModified, getObjectById, getParentContainer, getParentContainer, getSave, getToolbar, getValide, isCreation, isInCreation, isModified, isValide, postSave, processDataBinding, processDataBinding, registerDataBinding, removeContextValue, removeContextValue, removeDataBinding, setContextValue, setContextValue, setCreation, setModified, setValide, updateCollapseIcon
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, 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, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, 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, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jaxx.runtime.JAXXObject
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Field Detail

PROPERTY_BEAN

public static final String PROPERTY_BEAN
See Also:
Constant Field Values

PROPERTY_GROUP_USER_HANDLER

public static final String PROPERTY_GROUP_USER_HANDLER
See Also:
Constant Field Values

BINDING_CREATE_BUTTON_ENABLED

public static final String BINDING_CREATE_BUTTON_ENABLED
See Also:
Constant Field Values

BINDING_GROUP_NAME_TEXT

public static final String BINDING_GROUP_NAME_TEXT
See Also:
Constant Field Values

BINDING_REQUEST_LIST_UI_BEAN

public static final String BINDING_REQUEST_LIST_UI_BEAN
See Also:
Constant Field Values

BINDING_TITLE_TEXT

public static final String BINDING_TITLE_TEXT
See Also:
Constant Field Values

BINDING_VALIDATOR_BEAN

public static final String BINDING_VALIDATOR_BEAN
See Also:
Constant Field Values

adminGroupForm

protected jaxx.runtime.swing.Table adminGroupForm

bean

protected com.jurismarches.vradi.entities.Group bean

createButton

protected JButton createButton

groupName

protected JTextField groupName

groupUserHandler

protected UserListSelectorHandler groupUserHandler

groupUsers

protected jaxx.runtime.swing.ListSelectorUI<com.jurismarches.vradi.entities.User> groupUsers

requestListUI

protected RequestListUI requestListUI

title

protected JLabel title

validator

protected jaxx.runtime.validator.swing.SwingValidator<com.jurismarches.vradi.entities.Group> validator

validatorIds

protected List<String> validatorIds
Constructor Detail

AdminGroupUI

public AdminGroupUI()

AdminGroupUI

public AdminGroupUI(jaxx.runtime.JAXXContext parentContext)
Method Detail

postLoadBean

protected void postLoadBean()
Fill groups and users ListSelectorUI.

Specified by:
postLoadBean in class AdminContentUI<com.jurismarches.vradi.entities.Group>

save

public void save()
Description copied from class: AdminContentUI
Save the editing bean

Specified by:
save in class AdminContentUI<com.jurismarches.vradi.entities.Group>

clearUI

protected void clearUI()
Specified by:
clearUI in class AdminContentUI<com.jurismarches.vradi.entities.Group>

updateTitle

protected String updateTitle(String name)

$getJAXXObjectDescriptor

public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()

getValidator

public jaxx.runtime.validator.swing.SwingValidator<com.jurismarches.vradi.entities.Group> getValidator()

getValidator

public jaxx.runtime.validator.swing.SwingValidator<?> getValidator(String validatorId)
Specified by:
getValidator in interface jaxx.runtime.JAXXValidator

getValidatorIds

public List<String> getValidatorIds()
Specified by:
getValidatorIds in interface jaxx.runtime.JAXXValidator

doActionPerformed__on__$JButton0

public void doActionPerformed__on__$JButton0(ActionEvent event)

doActionPerformed__on__createButton

public void doActionPerformed__on__createButton(ActionEvent event)

doKeyReleased__on__groupName

public void doKeyReleased__on__groupName(KeyEvent event)

getAdminGroupForm

public jaxx.runtime.swing.Table getAdminGroupForm()

getBean

public com.jurismarches.vradi.entities.Group getBean()
Specified by:
getBean in class AdminContentUI<com.jurismarches.vradi.entities.Group>
Returns:
the editing bean of the content

getCreateButton

public JButton getCreateButton()

getGroupName

public JTextField getGroupName()

getGroupUserHandler

public UserListSelectorHandler getGroupUserHandler()

getGroupUsers

public jaxx.runtime.swing.ListSelectorUI<com.jurismarches.vradi.entities.User> getGroupUsers()

getRequestListUI

public RequestListUI getRequestListUI()

getTitle

public JLabel getTitle()

setBean

public void setBean(com.jurismarches.vradi.entities.Group newValue)
Specified by:
setBean in class AdminContentUI<com.jurismarches.vradi.entities.Group>
Parameters:
newValue - selected

setGroupUserHandler

public void setGroupUserHandler(UserListSelectorHandler newValue)

registerValidatorFields

public void registerValidatorFields()
Specified by:
registerValidatorFields in interface jaxx.runtime.JAXXValidator

get$JPanel0

protected JPanel get$JPanel0()

get$JButton0

protected JButton get$JButton0()

get$JLabel0

protected JLabel get$JLabel0()

get$JLabel1

protected JLabel get$JLabel1()

addChildrenToAdminGroupForm

protected void addChildrenToAdminGroupForm()

addChildrenToBody

protected void addChildrenToBody()

addChildrenToToolbar

protected void addChildrenToToolbar()

addChildrenToValidator

protected void addChildrenToValidator()

createAdminGroupForm

protected void createAdminGroupForm()

createBean

protected void createBean()

createBody

protected void createBody()
Overrides:
createBody in class AdminContentUI<com.jurismarches.vradi.entities.Group>

createCreateButton

protected void createCreateButton()

createGroupName

protected void createGroupName()

createGroupUserHandler

protected void createGroupUserHandler()

createGroupUsers

protected void createGroupUsers()

createRequestListUI

protected void createRequestListUI()

createTitle

protected void createTitle()

createToolbar

protected void createToolbar()
Overrides:
createToolbar in class AdminContentUI<com.jurismarches.vradi.entities.Group>

createValidator

protected void createValidator()


Copyright © 2009-2010 JurisMarches. All Rights Reserved.