public class IlvMapStylePropertySheet extends IlvCompactPropertySheet
IlvPropertySheet
 adds the following functionalities:
 IlvMapStylePropertySheet.PropertyProvider interface.
 | Modifier and Type | Class and Description | 
|---|---|
| static class  | IlvMapStylePropertySheet.IlvRetargetedPropertyDescriptorA wrapper of an IlvPropertyDescriptor that can be used when
 the the property sheet shows properties from more than one
 target bean. | 
| static class  | IlvMapStylePropertySheet.PropertyCellRendererThis class is used to draw a property value in the Property table. | 
| static interface  | IlvMapStylePropertySheet.PropertyProviderThis interface is used to add custom properties to the property sheet,
 in addition to the properties that are obtained automatically
 through introspection. | 
ilog.views.util.psheet.IlvPropertySheet.PropertyDescriptorsComputerJPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategylastTarget, PROPERTY_COLUMN_NAME, target, topTarget, VALUE_COLUMN_NAMETOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description | 
|---|
| IlvMapStylePropertySheet(Object target)Creates a new property sheet. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addInheritedListener(InheritListener listener)Adds an  InheritListenerto this style sheet. | 
| void | addLitteralPropertyChangeListener(PropertyChangeListener listener)Add a listener that will be notified of the literal column modifications | 
| protected JTable | createTable(TableModel model)Create the  JTableused by this property sheet. | 
| protected int | getEditorColumn()Returns the number of the column which contains the values. | 
| Object | getNewPropertyValue(PropertyChangeEvent evt)This utility method returns the new value of the property from a
  PropertyChangeEventfired after a property
 was modified. | 
| ilog.views.util.psheet.IlvPropertyDescriptor[] | getOriginalPropertyDescriptors(Object styleTarget)Returns the list of property descriptors for the target object. | 
| Component | getPreviewComponent()Returns preview window; | 
| IlvMapStylePropertySheet.PropertyProvider | getPropertyDescriptorProvider()Returns the property provider (which can be null). | 
| protected ilog.views.util.psheet.IlvPropertyDescriptor[] | getPropertyDescriptors(Object styleTarget)Overridden to call the  IlvMapStylePropertySheet.PropertyProviderreturned bygetPropertyDescriptorProvider(), and filter out properties. | 
| protected PropertyEditor | getPropertyEditor(Object styleTarget,
                 ilog.views.util.psheet.IlvPropertyDescriptor property,
                 Object value)Returns a property editor for the specified property of
 the specified target object. | 
| String | getPropertyName(PropertyChangeEvent evt)This utility method returns the name of the property from a
  PropertyChangeEventfired after a property
 was modified. | 
| protected boolean | isFilteredOut(String propertyName)If this method returns  truefor a particular property, it is
 not displayed in the property sheet. | 
| protected boolean | isIgnoredProperty(Class<?> clazz,
                 String property)Returns whether the given property of the specified class should be
 ignored. | 
| boolean | isInheritEnabled()Tells if the inheritance is enabled. | 
| boolean | isSort()Returns true if the properties are sorted, and false otherwise. | 
| void | removeInheritedListener(InheritListener listener)Removes an  InheritListenerfrom this style sheet. | 
| void | removeLitteralPropertyChangeListener(PropertyChangeListener listener)Removes a property change listener on litteral column. | 
| static void | setIgnoredProperty(Class<?> clazz,
                  String property)Sets the given property of the specified class to be ignored. | 
| void | setInheritEnabled(boolean enable)Enable inheritance in the property sheet. | 
| protected void | setPropertyDescriptorDisplayNameFromResources(Object target,
                                             ilog.views.util.psheet.IlvPropertyDescriptor[] descriptors)replaces the property descriptors display name with a string found in resource files for the target class. | 
| void | setPropertyDescriptorProvider(IlvMapStylePropertySheet.PropertyProvider propertyDescriptorProvider)Sets the property provider. | 
| void | setSort(boolean sort)Tells whether the properties should be sorted. | 
| void | setTarget(Object newTarget)Initializes the  IlvMapStylePropertySheetto edit the specified target. | 
| void | setTargetPropertyChangeListener(PropertyChangeListener listener)Add a listener that will be notified of the target modifications | 
addTargetPropertyChangeListener, addUndoableEdit, blinkingStateOn, createPropertyDescriptor, findDeeperObject, findEditor, getAutoSort, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getDefaultTextDirection, getEditors, getExternalPropertyEditor, getMaxToolTipWidth, getPreferredSize, getPreferredSize, getPropertyDescriptors, getPropertyDescriptorsComputer, getResourceBundle, getScrollPane, getTable, getTarget, getToolTipText, isEditable, isEditable, isExpertModeOn, isHandleOnlyBeans, isHiddenModeOn, isI18NOn, isNonPublicModeOn, keepProperties, performSet, reDraw, refreshAll, refreshCell, removeTargetPropertyChangeListener, setAutoSort, setComponentOrientation, setDeepTargetMode, setDefaultTextDirection, setEditable, setEditable, setExpertModeOn, setHandleOnlyBeans, setHiddenModeOn, setI18NOn, setMaxToolTipWidth, setNonPublicModeOn, setPropertyDescriptorsComputer, updateTargetgetAccessibleContext, 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, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, 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, 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, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic IlvMapStylePropertySheet(Object target)
target - The initial target.public IlvMapStylePropertySheet.PropertyProvider getPropertyDescriptorProvider()
protected JTable createTable(TableModel model)
JTable used by this property sheet.createTable in class ilog.views.util.psheet.IlvPropertySheetmodel - The TableModel of the table.JTableprotected boolean isFilteredOut(String propertyName)
true for a particular property, it is
 not displayed in the property sheet. The default implementation always
 return false.isFilteredOut in class ilog.views.util.psheet.IlvPropertySheetIlvPropertySheet.isFilteredOut(java.lang.String)public void setTarget(Object newTarget)
IlvMapStylePropertySheet to edit the specified target.setTarget in class IlvCompactPropertySheetnewTarget - The new target object.public void setPropertyDescriptorProvider(IlvMapStylePropertySheet.PropertyProvider propertyDescriptorProvider)
propertyDescriptorProvider - The new property provider (may be null).public Component getPreviewComponent()
null.public void addLitteralPropertyChangeListener(PropertyChangeListener listener)
listener - The listener to add.public void removeLitteralPropertyChangeListener(PropertyChangeListener listener)
listener - The listener to remove.protected ilog.views.util.psheet.IlvPropertyDescriptor[] getPropertyDescriptors(Object styleTarget)
IlvMapStylePropertySheet.PropertyProvider returned by
 getPropertyDescriptorProvider(), and filter out properties.getPropertyDescriptors in class ilog.views.util.psheet.IlvPropertySheetstyleTarget - The target object.public void setSort(boolean sort)
sort - true if the properties should be sorted, false otherwise.public boolean isSort()
true if the properties are be sorted, false otherwise.public ilog.views.util.psheet.IlvPropertyDescriptor[] getOriginalPropertyDescriptors(Object styleTarget)
getPropertyDescriptors(java.lang.Object).styleTarget - The target object.public static void setIgnoredProperty(Class<?> clazz, String property)
clazz - The class of the property to be ignoredproperty - The name of the property to be ignored;protected boolean isIgnoredProperty(Class<?> clazz, String property)
clazz - The class of the property to be checkedproperty - The name of the property to be checkedtrue if the property is ignored, false otherwise.public final void setTargetPropertyChangeListener(PropertyChangeListener listener)
listener - The listener to add.public String getPropertyName(PropertyChangeEvent evt)
PropertyChangeEvent fired after a property
 was modified.evt - A PropertyChangeEvent.public Object getNewPropertyValue(PropertyChangeEvent evt)
PropertyChangeEvent fired after a property
 was modified.evt - A PropertyChangeEvent.public void addInheritedListener(InheritListener listener)
InheritListener to this style sheet.
 The listener will be notified when the inheritance button will change state
 by a user click.listener - The listener to register.public void removeInheritedListener(InheritListener listener)
InheritListener from this style sheet.listener - The listener to remove.addInheritedListener(ilog.views.maps.propertysheet.InheritListener)public void setInheritEnabled(boolean enable)
enable - true to enable.public boolean isInheritEnabled()
true is enabled.protected void setPropertyDescriptorDisplayNameFromResources(Object target, ilog.views.util.psheet.IlvPropertyDescriptor[] descriptors)
target - target to use.descriptors - descriptors changed.protected PropertyEditor getPropertyEditor(Object styleTarget, ilog.views.util.psheet.IlvPropertyDescriptor property, Object value)
getPropertyEditor in class ilog.views.util.psheet.IlvPropertySheetIlvPropertySheet.getPropertyEditor(java.lang.Object, ilog.views.util.psheet.IlvPropertyDescriptor, java.lang.Object)protected int getEditorColumn()
getEditorColumn in class ilog.views.util.psheet.IlvPropertySheetIlvPropertySheet.getEditorColumn()© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.