Class ReorderableListFigure
- java.lang.Object
-
- org.eclipse.draw2d.Figure
-
- com._1c.g5.v8.dt.common.gef.figures.ReorderableListFigure
-
- All Implemented Interfaces:
org.eclipse.draw2d.IFigure
- Direct Known Subclasses:
ListFigure
public abstract class ReorderableListFigure extends org.eclipse.draw2d.Figure
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
FEEDBACK_THICKNESS
protected static int
SPACING
-
Constructor Summary
Constructors Constructor Description ReorderableListFigure()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doPaintHorizontalDropFeedback(org.eclipse.draw2d.geometry.Rectangle dropZone, org.eclipse.draw2d.Graphics g)
protected void
doPaintVeritalDropFeedback(org.eclipse.draw2d.geometry.Rectangle dropZone, org.eclipse.draw2d.Graphics g)
void
eraseFeedback()
Integer
getDropFeedbackLocation(org.eclipse.draw2d.geometry.Point p)
protected abstract List<org.eclipse.draw2d.geometry.Rectangle>
getDropZones()
protected abstract boolean
isHorizontal()
protected void
paintDropFeedback(org.eclipse.draw2d.Graphics g)
protected void
paintFigure(org.eclipse.draw2d.Graphics g)
void
setDropFeedbackIndex(Integer index)
void
showFeedback()
-
Methods inherited from class org.eclipse.draw2d.Figure
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, revalidate, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setEnabled, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
-
-
-
-
Field Detail
-
SPACING
protected static final int SPACING
- See Also:
- Constant Field Values
-
FEEDBACK_THICKNESS
protected static final int FEEDBACK_THICKNESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
paintFigure
protected void paintFigure(org.eclipse.draw2d.Graphics g)
- Overrides:
paintFigure
in classorg.eclipse.draw2d.Figure
-
setDropFeedbackIndex
public void setDropFeedbackIndex(Integer index)
-
getDropFeedbackLocation
public Integer getDropFeedbackLocation(org.eclipse.draw2d.geometry.Point p)
-
paintDropFeedback
protected void paintDropFeedback(org.eclipse.draw2d.Graphics g)
-
doPaintVeritalDropFeedback
protected void doPaintVeritalDropFeedback(org.eclipse.draw2d.geometry.Rectangle dropZone, org.eclipse.draw2d.Graphics g)
-
doPaintHorizontalDropFeedback
protected void doPaintHorizontalDropFeedback(org.eclipse.draw2d.geometry.Rectangle dropZone, org.eclipse.draw2d.Graphics g)
-
showFeedback
public void showFeedback()
-
eraseFeedback
public void eraseFeedback()
-
getDropZones
protected abstract List<org.eclipse.draw2d.geometry.Rectangle> getDropZones()
-
isHorizontal
protected abstract boolean isHorizontal()
-
-