com.jurismarches.vradi.ui.admin.content
Class AdminXmlStreamUI
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.jurismarches.vradi.ui.admin.AdminContentUI<XmlStream>
com.jurismarches.vradi.ui.admin.content.AdminXmlStreamUI
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, Accessible, jaxx.runtime.JAXXContext, jaxx.runtime.JAXXObject, jaxx.runtime.JAXXValidator, jaxx.runtime.swing.navigation.NavigationContentUI<jaxx.runtime.swing.navigation.tree.NavigationTreeNode>
public class AdminXmlStreamUI
- extends AdminContentUI<XmlStream>
- implements jaxx.runtime.JAXXValidator
- See Also:
- Serialized Form
| 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_SAVE_ENABLED, blockLayerUI, body, cancel, commonActions, delegateContext, errorTable, log, modified, PROPERTY_MODIFIED, PROPERTY_VALIDE, save, toolbar, valide |
| 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.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 interface jaxx.runtime.JAXXObject |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
PROPERTY_FORM_TYPE_SELECTION_MODEL
public static final String PROPERTY_FORM_TYPE_SELECTION_MODEL
- See Also:
- Constant Field Values
BINDING_ADMIN_XML_STREAM_UI_ENABLED
public static final String BINDING_ADMIN_XML_STREAM_UI_ENABLED
- See Also:
- Constant Field Values
BINDING_CREATE_FORMS_ENABLED
public static final String BINDING_CREATE_FORMS_ENABLED
- See Also:
- Constant Field Values
BINDING_FORM_TYPE_COMBO_SELECTED_ITEM
public static final String BINDING_FORM_TYPE_COMBO_SELECTED_ITEM
- See Also:
- Constant Field Values
BINDING_TITLE_TEXT
public static final String BINDING_TITLE_TEXT
- See Also:
- Constant Field Values
BINDING_VALIDATE_URL_ENABLED
public static final String BINDING_VALIDATE_URL_ENABLED
- See Also:
- Constant Field Values
BINDING_XML_STREAM_NAME_TEXT
public static final String BINDING_XML_STREAM_NAME_TEXT
- See Also:
- Constant Field Values
BINDING_XML_STREAM_PREVIEW_TOOL_TIP_TEXT
public static final String BINDING_XML_STREAM_PREVIEW_TOOL_TIP_TEXT
- See Also:
- Constant Field Values
BINDING_XML_STREAM_URL_TEXT
public static final String BINDING_XML_STREAM_URL_TEXT
- See Also:
- Constant Field Values
adminXmlStreamForm
protected jaxx.runtime.swing.Table adminXmlStreamForm
adminXmlStreamUI
protected AdminXmlStreamUI adminXmlStreamUI
bean
protected VradiXmlStreamDTO bean
config
protected JButton config
createForms
protected JButton createForms
createXmlStream
protected JButton createXmlStream
fieldsModel
protected XmlStreamFieldTableModel fieldsModel
fieldsTable
protected org.jdesktop.swingx.JXTable fieldsTable
formTypeCombo
protected JComboBox formTypeCombo
formTypeSelectionModel
protected ComboBoxModel formTypeSelectionModel
lastModified
protected jaxx.runtime.swing.HBox lastModified
title
protected JLabel title
validateUrl
protected JButton validateUrl
validator
protected jaxx.runtime.validator.swing.SwingValidator<VradiXmlStreamDTO> validator
validatorIds
protected List<String> validatorIds
xmlStreamName
protected JTextField xmlStreamName
xmlStreamPreview
protected JLabel xmlStreamPreview
xmlStreamSite
protected JButton xmlStreamSite
xmlStreamUrl
protected JTextField xmlStreamUrl
AdminXmlStreamUI
public AdminXmlStreamUI()
AdminXmlStreamUI
public AdminXmlStreamUI(jaxx.runtime.JAXXContext parentContext)
validateFormTypeChoice
protected void validateFormTypeChoice()
openUI
public void openUI(jaxx.runtime.swing.navigation.tree.NavigationTreeNode node)
throws Exception
- Specified by:
openUI in interface jaxx.runtime.swing.navigation.NavigationContentUI<jaxx.runtime.swing.navigation.tree.NavigationTreeNode>- Overrides:
openUI in class AdminContentUI<XmlStream>
- Throws:
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 String updateTitle(String name)
browseURI
protected void browseURI(String url)
onFormTypeComboActionPerformed
protected void onFormTypeComboActionPerformed()
$getJAXXObjectDescriptor
public static jaxx.runtime.JAXXObjectDescriptor $getJAXXObjectDescriptor()
getValidator
public jaxx.runtime.validator.swing.SwingValidator<VradiXmlStreamDTO> 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__config
public void doActionPerformed__on__config(ActionEvent event)
doActionPerformed__on__createForms
public void doActionPerformed__on__createForms(ActionEvent event)
doActionPerformed__on__createXmlStream
public void doActionPerformed__on__createXmlStream(ActionEvent event)
doActionPerformed__on__formTypeCombo
public void doActionPerformed__on__formTypeCombo(ActionEvent event)
doActionPerformed__on__validateUrl
public void doActionPerformed__on__validateUrl(ActionEvent event)
doActionPerformed__on__xmlStreamSite
public void doActionPerformed__on__xmlStreamSite(ActionEvent event)
doKeyReleased__on__xmlStreamName
public void doKeyReleased__on__xmlStreamName(KeyEvent event)
doKeyReleased__on__xmlStreamUrl
public void doKeyReleased__on__xmlStreamUrl(KeyEvent event)
doTableChanged__on__fieldsModel
public void doTableChanged__on__fieldsModel(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
getConfig
public JButton getConfig()
getCreateForms
public JButton getCreateForms()
getCreateXmlStream
public JButton getCreateXmlStream()
getFieldsModel
public XmlStreamFieldTableModel getFieldsModel()
getFieldsTable
public org.jdesktop.swingx.JXTable getFieldsTable()
getFormTypeCombo
public JComboBox getFormTypeCombo()
getFormTypeSelectionModel
public ComboBoxModel getFormTypeSelectionModel()
getLastModified
public jaxx.runtime.swing.HBox getLastModified()
getTitle
public JLabel getTitle()
getValidateUrl
public JButton getValidateUrl()
getXmlStreamName
public JTextField getXmlStreamName()
getXmlStreamPreview
public JLabel getXmlStreamPreview()
getXmlStreamSite
public JButton getXmlStreamSite()
getXmlStreamUrl
public JTextField getXmlStreamUrl()
setFormTypeSelectionModel
public void setFormTypeSelectionModel(ComboBoxModel newValue)
get$JPanel0
protected JPanel get$JPanel0()
get$JButton0
protected JButton get$JButton0()
get$HidorButton0
protected jaxx.runtime.swing.HidorButton get$HidorButton0()
get$JLabel0
protected JLabel get$JLabel0()
get$JLabel1
protected JLabel get$JLabel1()
get$JLabel2
protected JLabel get$JLabel2()
get$JScrollPane0
protected 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>
createConfig
protected void createConfig()
createCreateForms
protected void createCreateForms()
createCreateXmlStream
protected void createCreateXmlStream()
createFieldsModel
protected void createFieldsModel()
createFieldsTable
protected void createFieldsTable()
createFormTypeCombo
protected void createFormTypeCombo()
createFormTypeSelectionModel
protected void createFormTypeSelectionModel()
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()
createXmlStreamSite
protected void createXmlStreamSite()
createXmlStreamUrl
protected void createXmlStreamUrl()
Copyright © 2009-2010 JurisMarches. All Rights Reserved.