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

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<XmlStream>
                      extended by com.jurismarches.vradi.ui.admin.content.AdminXmlStreamUI
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject, jaxx.runtime.JAXXValidator, jaxx.runtime.swing.navigation.NavigationContentUI

public class AdminXmlStreamUI
extends AdminContentUI<XmlStream>
implements jaxx.runtime.JAXXValidator

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  AdminXmlStreamUI adminXmlStream
           
protected  jaxx.runtime.swing.Table adminXmlStreamForm
           
protected  VradiXmlStreamDTO bean
           
static java.lang.String BINDING_ADMIN_XML_STREAM_ENABLED
           
static java.lang.String BINDING_FORM_TYPE_COMBO_SELECTED_ITEM
           
static java.lang.String BINDING_TITLE_TEXT
           
static java.lang.String BINDING_VALIDATE_URL_ENABLED
           
static java.lang.String BINDING_XML_STREAM_NAME_TEXT
           
static java.lang.String BINDING_XML_STREAM_PREVIEW_TOOL_TIP_TEXT
           
static java.lang.String BINDING_XML_STREAM_URL_TEXT
           
protected  javax.swing.JButton createForms
           
protected  javax.swing.JButton createXmlStream
           
protected  XmlStreamFieldTableModel fieldsModel
           
protected  javax.swing.JTable fieldsTable
           
protected  javax.swing.JComboBox formTypeCombo
           
protected  jaxx.runtime.swing.HBox lastModified
           
protected  javax.swing.JLabel title
           
protected  javax.swing.JButton validateUrl
           
protected  jaxx.runtime.validator.swing.SwingValidator<VradiXmlStreamDTO> validator
           
protected  java.util.List<java.lang.String> validatorIds
           
protected  javax.swing.JTextField xmlStreamName
           
protected  javax.swing.JLabel xmlStreamPreview
           
protected  javax.swing.JTextField xmlStreamUrl
           
 
Fields inherited from class com.jurismarches.vradi.ui.admin.AdminContentUI
$activeBindings, $bindings, $bindingSources, $objectMap, $previousValues, BINDING_BLOCK_LAYER_UI_BLOCK, BINDING_COMMON_ACTIONS_VISIBLE, BINDING_SAVE_ENABLED, blockLayerUI, body, cancel, commonActions, delegateContext, errorTable, log, modified, 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
AdminXmlStreamUI()
           
AdminXmlStreamUI(jaxx.runtime.JAXXContext parentContext)
           
 
Method Summary
static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
           
protected  void addChildrenToAdminXmlStreamForm()
           
protected  void addChildrenToBody()
           
protected  void addChildrenToToolbar()
           
protected  void addChildrenToValidator()
           
protected  void createAdminXmlStreamForm()
           
protected  void createBean()
           
protected  void createBody()
           
protected  void createCreateForms()
           
protected  void createCreateXmlStream()
           
protected  void createFieldsModel()
           
protected  void createFieldsTable()
           
protected  void createForms()
           
protected  void createFormTypeCombo()
           
protected  void createLastModified()
           
protected  void createTitle()
           
protected  void createToolbar()
           
protected  void createValidateUrl()
           
protected  void createValidator()
           
protected  void createXmlStreamName()
           
protected  void createXmlStreamPreview()
           
protected  void createXmlStreamUrl()
           
 void doActionPerformed__on__$JButton0(java.awt.event.ActionEvent event)
           
 void doActionPerformed__on__createForms(java.awt.event.ActionEvent event)
           
 void doActionPerformed__on__createXmlStream(java.awt.event.ActionEvent event)
           
 void doActionPerformed__on__formTypeCombo(java.awt.event.ActionEvent event)
           
 void doActionPerformed__on__validateUrl(java.awt.event.ActionEvent event)
           
 void doKeyReleased__on__xmlStreamName(java.awt.event.KeyEvent event)
           
 void doKeyReleased__on__xmlStreamUrl(java.awt.event.KeyEvent event)
           
 void doTableChanged__on__fieldsModel(javax.swing.event.TableModelEvent event)
           
protected  jaxx.runtime.swing.HidorButton get$HidorButton0()
           
protected  javax.swing.JButton get$JButton0()
           
protected  javax.swing.JLabel get$JLabel0()
           
protected  javax.swing.JLabel get$JLabel1()
           
protected  javax.swing.JLabel get$JLabel2()
           
protected  javax.swing.JLabel get$JLabel3()
           
protected  javax.swing.JPanel get$JPanel0()
           
protected  javax.swing.JPanel get$JPanel1()
           
protected  javax.swing.JScrollPane get$JScrollPane0()
           
 jaxx.runtime.swing.Table getAdminXmlStreamForm()
           
 VradiXmlStreamDTO getBean()
           
 javax.swing.JButton getCreateForms()
           
 javax.swing.JButton getCreateXmlStream()
           
 XmlStreamFieldTableModel getFieldsModel()
           
 javax.swing.JTable getFieldsTable()
           
 javax.swing.JComboBox getFormTypeCombo()
           
 jaxx.runtime.swing.HBox getLastModified()
           
 javax.swing.JLabel getTitle()
           
 javax.swing.JButton getValidateUrl()
           
 jaxx.runtime.validator.swing.SwingValidator<VradiXmlStreamDTO> getValidator()
           
 jaxx.runtime.validator.swing.SwingValidator<?> getValidator(java.lang.String validatorId)
           
 java.util.List<java.lang.String> getValidatorIds()
           
 javax.swing.JTextField getXmlStreamName()
           
 javax.swing.JLabel getXmlStreamPreview()
           
 javax.swing.JTextField getXmlStreamUrl()
           
 void openUI(jaxx.runtime.swing.navigation.NavigationTreeNode node)
           
 void save()
          Save the editing bean
protected  void stopEditing()
           
protected  void superOpenUI(jaxx.runtime.swing.navigation.NavigationTreeNode node)
           
protected  void updateBeanFromEntity(XmlStream bean)
          Transfert incmoing bean into the editing bean.
protected  java.lang.String updateTitle(java.lang.String name)
           
protected  void validateFormTypeChoice()
           
 
Methods inherited from class com.jurismarches.vradi.ui.admin.AdminContentUI
addBeanModifiedPCS, addBeanPCSLogger, addChildrenToCommonActions, addPCSLogger, applyDataBinding, closeUI, createBlockLayerUI, createCancel, createCommonActions, createErrorTable, createModified, createSave, createValide, doActionPerformed__on__cancel, doActionPerformed__on__save, doTableChanged__on__errorTable, firePropertyChange, get$objectMap, getBlockLayerUI, getBody, getCancel, getCommonActions, getContextValue, getContextValue, getDataBindings, getDelegateContext, getErrorTable, getHandler, getHelper, getModified, getObjectById, getParentContainer, getParentContainer, getSave, getSelectedEntity, getToolbar, getValide, isModified, isValide, postSave, processDataBinding, processDataBinding, registerDataBinding, removeContextValue, removeContextValue, removeDataBinding, setContextValue, setContextValue, 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

BINDING_ADMIN_XML_STREAM_ENABLED

public static final java.lang.String BINDING_ADMIN_XML_STREAM_ENABLED
See Also:
Constant Field Values

BINDING_FORM_TYPE_COMBO_SELECTED_ITEM

public static final java.lang.String BINDING_FORM_TYPE_COMBO_SELECTED_ITEM
See Also:
Constant Field Values

BINDING_TITLE_TEXT

public static final java.lang.String BINDING_TITLE_TEXT
See Also:
Constant Field Values

BINDING_VALIDATE_URL_ENABLED

public static final java.lang.String BINDING_VALIDATE_URL_ENABLED
See Also:
Constant Field Values

BINDING_XML_STREAM_NAME_TEXT

public static final java.lang.String BINDING_XML_STREAM_NAME_TEXT
See Also:
Constant Field Values

BINDING_XML_STREAM_PREVIEW_TOOL_TIP_TEXT

public static final java.lang.String BINDING_XML_STREAM_PREVIEW_TOOL_TIP_TEXT
See Also:
Constant Field Values

BINDING_XML_STREAM_URL_TEXT

public static final java.lang.String BINDING_XML_STREAM_URL_TEXT
See Also:
Constant Field Values

adminXmlStream

protected AdminXmlStreamUI adminXmlStream

adminXmlStreamForm

protected jaxx.runtime.swing.Table adminXmlStreamForm

bean

protected VradiXmlStreamDTO bean

createForms

protected javax.swing.JButton createForms

createXmlStream

protected javax.swing.JButton createXmlStream

fieldsModel

protected XmlStreamFieldTableModel fieldsModel

fieldsTable

protected javax.swing.JTable fieldsTable

formTypeCombo

protected javax.swing.JComboBox formTypeCombo

lastModified

protected jaxx.runtime.swing.HBox lastModified

title

protected javax.swing.JLabel title

validateUrl

protected javax.swing.JButton validateUrl

validator

protected jaxx.runtime.validator.swing.SwingValidator<VradiXmlStreamDTO> validator

validatorIds

protected java.util.List<java.lang.String> validatorIds

xmlStreamName

protected javax.swing.JTextField xmlStreamName

xmlStreamPreview

protected javax.swing.JLabel xmlStreamPreview

xmlStreamUrl

protected javax.swing.JTextField xmlStreamUrl
Constructor Detail

AdminXmlStreamUI

public AdminXmlStreamUI()

AdminXmlStreamUI

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

validateFormTypeChoice

protected void validateFormTypeChoice()

superOpenUI

protected void superOpenUI(jaxx.runtime.swing.navigation.NavigationTreeNode node)
                    throws java.lang.Exception
Throws:
java.lang.Exception

openUI

public void openUI(jaxx.runtime.swing.navigation.NavigationTreeNode node)
            throws java.lang.Exception
Specified by:
openUI in interface jaxx.runtime.swing.navigation.NavigationContentUI
Overrides:
openUI in class AdminContentUI<XmlStream>
Throws:
java.lang.Exception

save

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

Specified by:
save in class AdminContentUI<XmlStream>

updateBeanFromEntity

protected void updateBeanFromEntity(XmlStream bean)
Description copied from class: AdminContentUI
Transfert incmoing bean into the editing bean.

Specified by:
updateBeanFromEntity in class AdminContentUI<XmlStream>
Parameters:
bean - the incoming bean

stopEditing

protected void stopEditing()

createForms

protected void createForms()

updateTitle

protected java.lang.String updateTitle(java.lang.String name)

$getJAXXObjectDescriptor

public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()

getValidator

public jaxx.runtime.validator.swing.SwingValidator<VradiXmlStreamDTO> getValidator()

getValidator

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

getValidatorIds

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

doActionPerformed__on__$JButton0

public void doActionPerformed__on__$JButton0(java.awt.event.ActionEvent event)

doActionPerformed__on__createForms

public void doActionPerformed__on__createForms(java.awt.event.ActionEvent event)

doActionPerformed__on__createXmlStream

public void doActionPerformed__on__createXmlStream(java.awt.event.ActionEvent event)

doActionPerformed__on__formTypeCombo

public void doActionPerformed__on__formTypeCombo(java.awt.event.ActionEvent event)

doActionPerformed__on__validateUrl

public void doActionPerformed__on__validateUrl(java.awt.event.ActionEvent event)

doKeyReleased__on__xmlStreamName

public void doKeyReleased__on__xmlStreamName(java.awt.event.KeyEvent event)

doKeyReleased__on__xmlStreamUrl

public void doKeyReleased__on__xmlStreamUrl(java.awt.event.KeyEvent event)

doTableChanged__on__fieldsModel

public void doTableChanged__on__fieldsModel(javax.swing.event.TableModelEvent event)

getAdminXmlStreamForm

public jaxx.runtime.swing.Table getAdminXmlStreamForm()

getBean

public VradiXmlStreamDTO getBean()
Specified by:
getBean in class AdminContentUI<XmlStream>
Returns:
the editing bean of the content

getCreateForms

public javax.swing.JButton getCreateForms()

getCreateXmlStream

public javax.swing.JButton getCreateXmlStream()

getFieldsModel

public XmlStreamFieldTableModel getFieldsModel()

getFieldsTable

public javax.swing.JTable getFieldsTable()

getFormTypeCombo

public javax.swing.JComboBox getFormTypeCombo()

getLastModified

public jaxx.runtime.swing.HBox getLastModified()

getTitle

public javax.swing.JLabel getTitle()

getValidateUrl

public javax.swing.JButton getValidateUrl()

getXmlStreamName

public javax.swing.JTextField getXmlStreamName()

getXmlStreamPreview

public javax.swing.JLabel getXmlStreamPreview()

getXmlStreamUrl

public javax.swing.JTextField getXmlStreamUrl()

get$JPanel0

protected javax.swing.JPanel get$JPanel0()

get$JButton0

protected javax.swing.JButton get$JButton0()

get$HidorButton0

protected jaxx.runtime.swing.HidorButton get$HidorButton0()

get$JLabel0

protected javax.swing.JLabel get$JLabel0()

get$JLabel1

protected javax.swing.JLabel get$JLabel1()

get$JLabel2

protected javax.swing.JLabel get$JLabel2()

get$JPanel1

protected javax.swing.JPanel get$JPanel1()

get$JLabel3

protected javax.swing.JLabel get$JLabel3()

get$JScrollPane0

protected javax.swing.JScrollPane get$JScrollPane0()

addChildrenToAdminXmlStreamForm

protected void addChildrenToAdminXmlStreamForm()

addChildrenToBody

protected void addChildrenToBody()

addChildrenToToolbar

protected void addChildrenToToolbar()

addChildrenToValidator

protected void addChildrenToValidator()

createAdminXmlStreamForm

protected void createAdminXmlStreamForm()

createBean

protected void createBean()

createBody

protected void createBody()
Overrides:
createBody in class AdminContentUI<XmlStream>

createCreateForms

protected void createCreateForms()

createCreateXmlStream

protected void createCreateXmlStream()

createFieldsModel

protected void createFieldsModel()

createFieldsTable

protected void createFieldsTable()

createFormTypeCombo

protected void createFormTypeCombo()

createLastModified

protected void createLastModified()

createTitle

protected void createTitle()

createToolbar

protected void createToolbar()
Overrides:
createToolbar in class AdminContentUI<XmlStream>

createValidateUrl

protected void createValidateUrl()

createValidator

protected void createValidator()

createXmlStreamName

protected void createXmlStreamName()

createXmlStreamPreview

protected void createXmlStreamPreview()

createXmlStreamUrl

protected void createXmlStreamUrl()


Copyright © 2009-2010 JurisMarches. All Rights Reserved.