class BaseFieldEditor extends JStretchPanel implements JsetValueCallback, java.awt.event.ItemListener
javax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
(package private) static java.lang.String |
allToken |
(package private) static java.lang.String |
anyToken |
(package private) JcheckboxField |
apachemd5cryptedCF |
(package private) JstringField |
BadCharS |
(package private) JcheckboxField |
bCryptedCF |
(package private) JnumberField |
bCryptRoundsN |
(package private) boolean |
booleanShowing |
(package private) static java.lang.String |
booleanToken |
(package private) StringDialog |
changeLabelTypeDialog |
(package private) JstringArea |
commentT |
(package private) JcheckboxField |
cracklib_exceptionCF |
(package private) JcheckboxField |
cracklibCF |
(package private) JcheckboxField |
cryptedCF |
(package private) boolean |
dateShowing |
(package private) static java.lang.String |
dateToken |
(package private) static boolean |
debug |
(package private) JcheckboxField |
editInPlaceCF |
(package private) JLabelPanel |
editPanel |
(package private) JstringField |
falseLabelS |
(package private) javax.swing.JComboBox |
fieldC |
(package private) BaseField |
fieldDef |
(package private) FieldNode |
fieldNode |
(package private) boolean |
fieldOptionShowing |
(package private) static java.lang.String |
fieldOptionToken |
(package private) boolean |
floatShowing |
(package private) static java.lang.String |
floatToken |
(package private) JnumberField |
history_depthN |
(package private) JcheckboxField |
history_exceptionCF |
(package private) JcheckboxField |
historyCF |
(package private) JnumberField |
idN |
(package private) JcheckboxField |
invisibleCF |
(package private) boolean |
ipShowing |
(package private) static java.lang.String |
ipToken |
(package private) JcheckboxField |
labeledCF |
(package private) boolean |
listenToCallbacks |
(package private) JnumberField |
maxArrayN |
(package private) JnumberField |
maxLengthN |
(package private) JcheckboxField |
md5cryptedCF |
(package private) JnumberField |
minLengthN |
(package private) JcheckboxField |
multiLineCF |
(package private) JstringField |
nameS |
(package private) javax.swing.JComboBox |
namespaceC |
(package private) static java.lang.String |
noneToken |
(package private) boolean |
numericShowing |
(package private) static java.lang.String |
numericToken |
(package private) static java.lang.String |
objectRefToken |
(package private) JstringField |
OKCharS |
(package private) GASHSchema |
owner |
(package private) boolean |
passwordShowing |
(package private) static java.lang.String |
passwordToken |
(package private) boolean |
permissionShowing |
(package private) static java.lang.String |
permissionToken |
(package private) JcheckboxField |
plainTextCF |
(package private) boolean |
referenceShowing |
(package private) JstringField |
regexpDescS |
(package private) JstringField |
regexpS |
(package private) java.util.Hashtable |
rowHash |
(package private) JcheckboxField |
shaUnixCryptedCF |
(package private) JnumberField |
shaUnixCryptRoundsN |
(package private) javax.swing.JComboBox |
shaUnixCryptTypeC |
(package private) JcheckboxField |
sshaHashcryptedCF |
(package private) boolean |
stringShowing |
(package private) static java.lang.String |
stringToken |
(package private) javax.swing.JComboBox |
targetC |
(package private) JstringField |
trueLabelS |
(package private) static TranslationService |
ts
TranslationService object for handling string localization in
the Ganymede admin console.
|
(package private) javax.swing.JComboBox |
typeC |
(package private) JcheckboxField |
vectorCF |
(package private) JcheckboxField |
winHashcryptedCF |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
BaseFieldEditor(GASHSchema owner)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
changeTypeChoice(java.lang.String selectedItem)
This method changes the type on the server and updates
the booleans that BaseFieldEditor uses to keep track
of what field attributes should be visible.
|
(package private) void |
checkVisibility() |
void |
cleanup()
GC-aiding dissolution method.
|
(package private) void |
clearFields() |
private void |
clearTypeChoice()
Helper method for changeTypeChoice().
|
(package private) void |
editField(FieldNode fieldNode,
boolean forceRefresh)
Edit the given field.
|
(package private) void |
editField(FieldNode fieldNode,
boolean forceRefresh,
boolean updateTargetC)
Edit the given field.
|
private boolean |
handleReturnVal(ReturnVal retVal) |
void |
itemStateChanged(java.awt.event.ItemEvent e)
For choice fields
|
(package private) void |
refreshFieldChoice()
This method regenerates the list of valid target field choices
in the BaseFieldEditor when the targetBase is not "<any>".
|
void |
refreshFieldEdit(boolean updateTargetC)
Reinitialize the BaseFieldEditor with the current field.
|
(package private) void |
refreshNamespaceChoice() |
(package private) void |
refreshTargetChoice()
This method regenerates the list of valid target base choices
in the BaseFieldEditor.
|
private JLabelPanel |
setupEditPanel() |
boolean |
setValuePerformed(JValueObject v)
For string, numeric, and checkbox fields
|
void |
switchAway() |
setComponentgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, isPaintingOrigin, 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, updateadd, 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, transferFocusDownCycle, validate, validateTreeaction, 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, 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, transferFocusBackward, transferFocusUpCyclestatic final boolean debug
static final TranslationService ts
static final java.lang.String booleanToken
static final java.lang.String numericToken
static final java.lang.String fieldOptionToken
static final java.lang.String floatToken
static final java.lang.String dateToken
static final java.lang.String stringToken
static final java.lang.String objectRefToken
static final java.lang.String passwordToken
static final java.lang.String ipToken
static final java.lang.String permissionToken
static final java.lang.String allToken
static final java.lang.String anyToken
static final java.lang.String noneToken
boolean listenToCallbacks
FieldNode fieldNode
BaseField fieldDef
JLabelPanel editPanel
GASHSchema owner
StringDialog changeLabelTypeDialog
JstringArea commentT
JstringField nameS
JstringField trueLabelS
JstringField falseLabelS
JstringField OKCharS
JstringField BadCharS
JstringField regexpS
JstringField regexpDescS
JnumberField idN
JnumberField maxArrayN
JnumberField minLengthN
JnumberField maxLengthN
JnumberField history_depthN
JnumberField bCryptRoundsN
JnumberField shaUnixCryptRoundsN
JcheckboxField invisibleCF
JcheckboxField vectorCF
JcheckboxField labeledCF
JcheckboxField editInPlaceCF
JcheckboxField cracklibCF
JcheckboxField cracklib_exceptionCF
JcheckboxField historyCF
JcheckboxField history_exceptionCF
JcheckboxField cryptedCF
JcheckboxField md5cryptedCF
JcheckboxField apachemd5cryptedCF
JcheckboxField winHashcryptedCF
JcheckboxField sshaHashcryptedCF
JcheckboxField bCryptedCF
JcheckboxField shaUnixCryptedCF
JcheckboxField plainTextCF
JcheckboxField multiLineCF
javax.swing.JComboBox typeC
javax.swing.JComboBox shaUnixCryptTypeC
javax.swing.JComboBox namespaceC
javax.swing.JComboBox targetC
javax.swing.JComboBox fieldC
java.util.Hashtable rowHash
boolean booleanShowing
boolean numericShowing
boolean floatShowing
boolean fieldOptionShowing
boolean dateShowing
boolean stringShowing
boolean referenceShowing
boolean passwordShowing
boolean ipShowing
boolean permissionShowing
BaseFieldEditor(GASHSchema owner)
private JLabelPanel setupEditPanel()
void clearFields()
void checkVisibility()
void refreshNamespaceChoice()
void refreshTargetChoice()
void refreshFieldChoice()
void changeTypeChoice(java.lang.String selectedItem)
private void clearTypeChoice()
void editField(FieldNode fieldNode, boolean forceRefresh)
void editField(FieldNode fieldNode, boolean forceRefresh, boolean updateTargetC)
public void refreshFieldEdit(boolean updateTargetC)
public void switchAway()
public boolean setValuePerformed(JValueObject v)
setValuePerformed in interface JsetValueCallbackJsetValueCallbackpublic void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged in interface java.awt.event.ItemListenerpublic void cleanup()
cleanup in class JStretchPanelprivate boolean handleReturnVal(ReturnVal retVal)