uci.ui
Class PropSheetCategory
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--uci.ui.PropSheet
|
+--uci.ui.PropSheetCategory
- public class PropSheetCategory
- extends PropSheet
A PropSheet that shows only properties in a given Category. The
display of the properties is in a fairly random order down the
sheet. This class also has several static registration methods
that control how specific properties will be displayed and
editied.
- See Also:
- Serialized Form
| Methods inherited from class uci.ui.PropSheet |
apply,
applyProperty,
getPropertiesFont,
getTabName,
propertyChange,
revert,
setAutoApply,
setPropertiesFont,
setSelection,
setTabName,
setVisible,
store |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener,
addPropertyChangeListener,
addVetoableChangeListener,
computeVisibleRect,
contains,
createToolTip,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChange,
fireVetoableChange,
getActionForKeyStroke,
getAlignmentX,
getAlignmentY,
getAutoscrolls,
getBorder,
getBounds,
getClientProperty,
getComponentGraphics,
getConditionForKeyStroke,
getDebugGraphicsOptions,
getGraphics,
getHeight,
getInsets,
getInsets,
getLocation,
getMaximumSize,
getNextFocusableComponent,
getRegisteredKeyStrokes,
getRootPane,
getSize,
getToolTipLocation,
getToolTipText,
getToolTipText,
getTopLevelAncestor,
getVisibleRect,
getWidth,
getX,
getY,
grabFocus,
hasFocus,
isDoubleBuffered,
isFocusCycleRoot,
isFocusTraversable,
isLightweightComponent,
isManagingFocus,
isOpaque,
isOptimizedDrawingEnabled,
isPaintingTile,
isRequestFocusEnabled,
isValidateRoot,
paint,
paintBorder,
paintChildren,
paintComponent,
paintImmediately,
paintImmediately,
processComponentKeyEvent,
processFocusEvent,
processKeyEvent,
processMouseMotionEvent,
putClientProperty,
registerKeyboardAction,
registerKeyboardAction,
removeAncestorListener,
removeNotify,
removePropertyChangeListener,
removeVetoableChangeListener,
repaint,
repaint,
requestDefaultFocus,
requestFocus,
resetKeyboardActions,
reshape,
revalidate,
scrollRectToVisible,
setAlignmentX,
setAlignmentY,
setAutoscrolls,
setBackground,
setBorder,
setDebugGraphicsOptions,
setDoubleBuffered,
setEnabled,
setFont,
setForeground,
setMaximumSize,
setMinimumSize,
setNextFocusableComponent,
setOpaque,
setPreferredSize,
setRequestFocusEnabled,
setToolTipText,
setUI,
unregisterKeyboardAction,
update |
| Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setLayout,
validate,
validateTree |
| Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getToolkit,
getTreeLock,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
dots
public static final String dots
_keysComps
protected Hashtable _keysComps
- Given a property name, which AWT component edits its value.
_compsKeys
protected Hashtable _compsKeys
- Given an AWT component, what is the name of the property it edits.
_inUse
protected Hashtable _inUse
_labels
protected Hashtable _labels
_shown
protected Hashtable _shown
_category
protected String _category
_properties
protected PropertyDescriptor[] _properties
_jframe
protected JFrame _jframe
inRecursion
protected boolean inRecursion
PropSheetCategory
public PropSheetCategory(JFrame f)
getCategory
public String getCategory()
setCategory
public void setCategory(String cat)
addKeyComp
public Component addKeyComp(PropertyDescriptor pd)
updateKeysComps
public void updateKeysComps()
show
public void show(PropertyDescriptor pd)
hide
public void hide(PropertyDescriptor pd)
getMinimumSize
public Dimension getMinimumSize()
- Overrides:
- getMinimumSize in class JComponent
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class JComponent
getSize
public Dimension getSize()
- Overrides:
- getSize in class Component
makeComp
public Component makeComp(PropertyDescriptor pd)
- If I don't have a comp for a given property name, or the last
comp is not suitable, then make a new AWT component (possibly a
PropertyEditor).
setComponentValue
public void setComponentValue(PropertyDescriptor pd,
Component comp)
- Display the value of a given property
addNotify
public void addNotify()
- Overrides:
- addNotify in class JComponent
canEdit
public boolean canEdit(Object item)
- Overrides:
- canEdit in class PropSheet
updateComponents
public void updateComponents()
- Overrides:
- updateComponents in class PropSheet
updateComponent
public void updateComponent(PropertyDescriptor pd)
- Overrides:
- updateComponent in class PropSheet