public class RBEditor extends RMEditor
javax.swing.JComponent.AccessibleJComponent
GridColor, MarginColor, PRINT_MODE_RASTER, PRINT_MODE_VECTOR
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
RBEditor()
Creates a new Ribs editor.
|
Modifier and Type | Method and Description |
---|---|
void |
copy()
Overrides RMEditor implementation to make sure shape/component hierarchy is sync'ed.
|
void |
delete()
Override RMEditor version to delete binder if one is selected.
|
java.util.Map |
getArchiverClassMap()
Returns the Map of tags and classes to be used for unarchiving document shapes.
|
RBDocument |
getDocumentRB()
Returns this editor's document as an RBDocument.
|
void |
getDragAndDrop()
Overrides RMEditor version to install a drop listener for RBEditor.
|
java.lang.String |
getFileDescription()
Returns the description for the editor document for use in open/save panels.
|
java.lang.String |
getFileExtension()
Returns extension for editor document.
|
java.awt.Dimension |
getPreferredSize()
Overrides viewer method to ensure editor is always at least 575x300.
|
static RBEditor |
mainEditorRB()
Returns the main editor as an RBEditor.
|
void |
mousePressed(java.awt.event.MouseEvent anEvent)
Override RMEditor method to clear binders.
|
void |
selectShapes(java.util.List shapes)
Override RMEditor method to clear binders.
|
addPage, addPage, addPagePrevious, addShapesToShape, addShapeToSelectedShapes, cut, docUndoerAddDirtyObject, firstSuperSelectedShapeThatAcceptsChildren, firstSuperSelectedShapeThatAcceptsChildrenAtPoint, firstSuperSelectedShapeThatAcceptsChildrenOrChildrenSuperSelectImmediately, flushEditingChanges, getChildShapeAtPoint, getCurrentTool, getDataSource, getDataSourceDataset, getEditorShapePainter, getEvents, getSelectedOrSuperSelectedShape, getSelectedOrSuperSelectedShape, getSelectedOrSuperSelectedShapeCount, getSelectedShape, getSelectedShape, getSelectedShapeCount, getSelectedShapes, getSelectedShapesOrSuperSelectedShape, getShapeAtPoint, getSuperSelectedShape, getSuperSelectedShape, getSuperSelectedShapeCount, getSuperSelectedShapes, getTextEditor, getTextEditor, getTextEditor, getValueIsAdjusting, getWindow, isCurrentToolSelectTool, isCurrentToolSelectToolAndSelecting, isManagingFocus, isPreview, mainEditor, mouseDragged, mouseMoved, mouseReleased, paintComponentAbove, paintViewportAbove, paste, popSelection, processKeyEvent, processKeyEventSuper, redo, removePage, removePage, removeShapeFromSelectedShapes, resetCurrentTool, selectAll, selectShape, setCurrentTool, setCurrentTool, setCurrentToolToSelectTool, setDataSource, setDocument, setPreview, setSelectedPageIndex, setZoomFactor, superSelect, superSelectShape, undo
convertPointFromShape, convertPointToShape, convertRectFromShape, convertRectToShape, docShapeBoundsChanged, docShapeNeedsRepaint, drawsBackground, flushGraphics, getBook, getDirtyRect, getDocument, getDocumentBounds, getFilename, getMinimumSize, getPageBounds, getPageLayout, getPrintingDPI, getPrintingMode, getRenderingHints, getSelectedPage, getSelectedPageIndex, getShapeAtPoint, getShapePainter, getShapeRepaintEnabled, getTransformFromShape, getUndoer, getZoomFactor, pageBack, pageForward, paintComponent, performActionURLClick, print, print, print2, print2, processMouseEvent, processMouseMotionEvent, repaint, runZoomPanel, setPrintingDPI, setPrintingMode, setShapePainter, setShapeRepaintEnabled, setZoomForScreenResolution, undoerAddChildToShape, undoerDisable, undoerEnable, undoerHasUndos, undoerSetCoalesce, undoerSetUndoTitle, updateShapeUnderStack, zoomToggleLast
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, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, 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, updateUI
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, transferFocusDownCycle, validate, validateTree
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, firePropertyChange, getAccessibleContext, 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, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static RBEditor mainEditorRB()
public java.lang.String getFileExtension()
getFileExtension
in class RMEditor
public java.lang.String getFileDescription()
getFileDescription
in class RMEditor
public RBDocument getDocumentRB()
public void selectShapes(java.util.List shapes)
selectShapes
in class RMEditor
public void mousePressed(java.awt.event.MouseEvent anEvent)
mousePressed
in class RMEditor
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class RMEditor
public void copy()
public void delete()
public void getDragAndDrop()
getDragAndDrop
in class RMEditor
public java.util.Map getArchiverClassMap()
getArchiverClassMap
in class RMEditor