Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.gui » config » [javadoc | source]
org.jfree.report.modules.gui.config
public class: ConfigDescriptionEditor [javadoc | source]
java.lang.Object
   java.awt.Component
      java.awt.Container
         java.awt.Window
            java.awt.Frame
               javax.swing.JFrame
                  org.jfree.report.modules.gui.config.ConfigDescriptionEditor

All Implemented Interfaces:
    Accessible, TransferHandler$HasGetTransferHandler, RootPaneContainer, WindowConstants, MenuContainer, ImageObserver, Serializable

The config description editor is used to edit the configuration metadata used in the ConfigEditor to describe the ReportConfiguration keys.
Field Summary
protected static final  String EDITOR_FONT_KEY    A configuration key to define the Font used in the editor. 
protected static final  String EDITOR_FONT_SIZE_KEY    A configuration key to define the Font size used in the editor. 
Fields inherited from javax.swing.JFrame:
EXIT_ON_CLOSE
Fields inherited from java.awt.Frame:
DEFAULT_CURSOR,  CROSSHAIR_CURSOR,  TEXT_CURSOR,  WAIT_CURSOR,  SW_RESIZE_CURSOR,  SE_RESIZE_CURSOR,  NW_RESIZE_CURSOR,  NE_RESIZE_CURSOR,  N_RESIZE_CURSOR,  S_RESIZE_CURSOR,  W_RESIZE_CURSOR,  E_RESIZE_CURSOR,  HAND_CURSOR,  MOVE_CURSOR,  NORMAL,  ICONIFIED,  MAXIMIZED_HORIZ,  MAXIMIZED_VERT,  MAXIMIZED_BOTH
Fields inherited from java.awt.Component:
TOP_ALIGNMENT,  CENTER_ALIGNMENT,  BOTTOM_ALIGNMENT,  LEFT_ALIGNMENT,  RIGHT_ALIGNMENT
Constructor:
 public ConfigDescriptionEditor() 
Method from org.jfree.report.modules.gui.config.ConfigDescriptionEditor Summary:
attempExit,   createStatusBar,   getEntryList,   getEntryType,   getEnumEntryEditField,   getEnumEntryList,   getEnumEntryListModel,   getModel,   getResources,   getSelectedEntry,   getStatusText,   load,   main,   save,   setEntryType,   setSelectedEntry,   setStatusText,   writeSelectedEntry
Methods from javax.swing.JFrame:
getAccessibleContext,   getContentPane,   getDefaultCloseOperation,   getGlassPane,   getGraphics,   getJMenuBar,   getLayeredPane,   getRootPane,   getTransferHandler,   isDefaultLookAndFeelDecorated,   remove,   repaint,   setContentPane,   setDefaultCloseOperation,   setDefaultLookAndFeelDecorated,   setGlassPane,   setIconImage,   setJMenuBar,   setLayeredPane,   setLayout,   setTransferHandler,   update
Methods from java.awt.Frame:
addNotify,   getAccessibleContext,   getCursorType,   getExtendedState,   getFrames,   getIconImage,   getMaximizedBounds,   getMenuBar,   getState,   getTitle,   isResizable,   isUndecorated,   remove,   removeNotify,   setCursor,   setExtendedState,   setIconImage,   setMaximizedBounds,   setMenuBar,   setResizable,   setState,   setTitle,   setUndecorated
Methods from java.awt.Window:
addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   addWindowFocusListener,   addWindowListener,   addWindowStateListener,   applyResourceBundle,   applyResourceBundle,   createBufferStrategy,   createBufferStrategy,   dispose,   getAccessibleContext,   getBufferStrategy,   getFocusCycleRootAncestor,   getFocusOwner,   getFocusTraversalKeys,   getFocusableWindowState,   getGraphicsConfiguration,   getIconImages,   getInputContext,   getListeners,   getLocale,   getModalExclusionType,   getMostRecentFocusOwner,   getOwnedWindows,   getOwner,   getOwnerlessWindows,   getToolkit,   getWarningString,   getWindowFocusListeners,   getWindowListeners,   getWindowStateListeners,   getWindows,   hide,   isActive,   isAlwaysOnTop,   isAlwaysOnTopSupported,   isFocusCycleRoot,   isFocusableWindow,   isFocused,   isLocationByPlatform,   isShowing,   pack,   postEvent,   removeNotify,   removeWindowFocusListener,   removeWindowListener,   removeWindowStateListener,   reshape,   setAlwaysOnTop,   setBounds,   setBounds,   setCursor,   setFocusCycleRoot,   setFocusableWindowState,   setIconImage,   setIconImages,   setLocationByPlatform,   setLocationRelativeTo,   setMinimumSize,   setModalExclusionType,   setSize,   setSize,   setVisible,   show,   toBack,   toFront
Methods from java.awt.Container:
add,   add,   add,   add,   add,   addContainerListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   countComponents,   deliverEvent,   doLayout,   findComponentAt,   findComponentAt,   getAlignmentX,   getAlignmentY,   getComponent,   getComponentAt,   getComponentAt,   getComponentCount,   getComponentZOrder,   getComponents,   getContainerListeners,   getFocusTraversalKeys,   getFocusTraversalPolicy,   getInsets,   getLayout,   getListeners,   getMaximumSize,   getMinimumSize,   getMousePosition,   getPreferredSize,   insets,   invalidate,   isAncestorOf,   isFocusCycleRoot,   isFocusCycleRoot,   isFocusTraversalPolicyProvider,   isFocusTraversalPolicySet,   layout,   list,   list,   locate,   minimumSize,   paint,   paintComponents,   preferredSize,   print,   printComponents,   remove,   remove,   removeAll,   removeContainerListener,   removeNotify,   setComponentZOrder,   setFocusCycleRoot,   setFocusTraversalKeys,   setFocusTraversalPolicy,   setFocusTraversalPolicyProvider,   setFont,   setLayout,   transferFocusBackward,   transferFocusDownCycle,   update,   validate
Methods from java.awt.Component:
action,   add,   addComponentListener,   addFocusListener,   addHierarchyBoundsListener,   addHierarchyListener,   addInputMethodListener,   addKeyListener,   addMouseListener,   addMouseMotionListener,   addMouseWheelListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   bounds,   checkImage,   checkImage,   contains,   contains,   createImage,   createImage,   createVolatileImage,   createVolatileImage,   deliverEvent,   disable,   dispatchEvent,   doLayout,   enable,   enable,   enableInputMethods,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessibleContext,   getAlignmentX,   getAlignmentY,   getBackground,   getBaseline,   getBaselineResizeBehavior,   getBounds,   getBounds,   getColorModel,   getComponentAt,   getComponentAt,   getComponentListeners,   getComponentOrientation,   getCursor,   getDropTarget,   getFocusCycleRootAncestor,   getFocusListeners,   getFocusTraversalKeys,   getFocusTraversalKeysEnabled,   getFont,   getFontMetrics,   getForeground,   getGraphics,   getGraphicsConfiguration,   getHeight,   getHierarchyBoundsListeners,   getHierarchyListeners,   getIgnoreRepaint,   getInputContext,   getInputMethodListeners,   getInputMethodRequests,   getKeyListeners,   getListeners,   getLocale,   getLocation,   getLocation,   getLocationOnScreen,   getMaximumSize,   getMinimumSize,   getMouseListeners,   getMouseMotionListeners,   getMousePosition,   getMouseWheelListeners,   getName,   getParent,   getPeer,   getPreferredSize,   getPropertyChangeListeners,   getPropertyChangeListeners,   getSize,   getSize,   getToolkit,   getTreeLock,   getWidth,   getX,   getY,   gotFocus,   handleEvent,   hasFocus,   hide,   imageUpdate,   inside,   invalidate,   isBackgroundSet,   isCursorSet,   isDisplayable,   isDoubleBuffered,   isEnabled,   isFocusCycleRoot,   isFocusOwner,   isFocusTraversable,   isFocusable,   isFontSet,   isForegroundSet,   isLightweight,   isMaximumSizeSet,   isMinimumSizeSet,   isOpaque,   isPreferredSizeSet,   isShowing,   isValid,   isVisible,   keyDown,   keyUp,   layout,   list,   list,   list,   list,   list,   locate,   location,   lostFocus,   minimumSize,   mouseDown,   mouseDrag,   mouseEnter,   mouseExit,   mouseMove,   mouseUp,   move,   nextFocus,   paint,   paintAll,   postEvent,   preferredSize,   prepareImage,   prepareImage,   print,   printAll,   remove,   removeComponentListener,   removeFocusListener,   removeHierarchyBoundsListener,   removeHierarchyListener,   removeInputMethodListener,   removeKeyListener,   removeMouseListener,   removeMouseMotionListener,   removeMouseWheelListener,   removeNotify,   removePropertyChangeListener,   removePropertyChangeListener,   repaint,   repaint,   repaint,   repaint,   requestFocus,   requestFocusInWindow,   reshape,   resize,   resize,   setBackground,   setBounds,   setBounds,   setComponentOrientation,   setCursor,   setDropTarget,   setEnabled,   setFocusTraversalKeys,   setFocusTraversalKeysEnabled,   setFocusable,   setFont,   setForeground,   setIgnoreRepaint,   setLocale,   setLocation,   setLocation,   setMaximumSize,   setMinimumSize,   setName,   setPreferredSize,   setSize,   setSize,   setVisible,   show,   show,   size,   toString,   transferFocus,   transferFocusBackward,   transferFocusUpCycle,   update,   validate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.gui.config.ConfigDescriptionEditor Detail:
 protected  void attempExit() 
    Handles the attemp to quit the program. This method shuts down the VM.
 protected JPanel createStatusBar() 
    Creates the statusbar for this frame. Use setStatus() to display text on the status bar.
 protected JList getEntryList() 
    Returns the JList component containing all configuration entries.
 protected int getEntryType() 
    Returns the current entry type.
 protected JTextField getEnumEntryEditField() 
    Returns the text field containing the currently edited enumeration entry.
 protected JList getEnumEntryList() 
    Returns the JList component containing all entries of the enumeration detail editor.
 protected DefaultListModel getEnumEntryListModel() 
    Returns the List Model containing all entries of the current enumeration entry editor.
 protected ConfigDescriptionModel getModel() 
    Returns the config description model containing all metainformation about the configuration.
 protected ResourceBundleSupport getResources() 
    Returns the resource bundle of this editor for translating strings.
 protected ConfigDescriptionEntry getSelectedEntry() 
    Returns the currently select entry from the entry list model.
 protected String getStatusText() 
    Returns the currently visible status text of this dialog.
 protected  void load() 
    Loads the config description model from a xml file.
 public static  void main(String[] args) 
    The main entry point to start the detail editor.
 protected  void save() 
    Saves the config description model in a xml file.
 protected  void setEntryType(int type) 
    Sets the entry type for the current config description entry. This also selects and activates the correct detail editor for this type.
 protected  void setSelectedEntry(ConfigDescriptionEntry selectedEntry) 
    Defines the currently selected entry from the entry list model and updates the detail editor to reflect the data from the entry.
 protected  void setStatusText(String text) 
    Defines the status text for this dialog.
 protected  void writeSelectedEntry() 
    Updates the currently selected entry from the values found in the detail editor.