public class PrintableBorder extends PrintableObject
bounds, DASH, defaultSize, HANDLE_SIZE, INFO_PARAM_BORDER, INFO_PARAM_BOUNDS_HEIGHT, INFO_PARAM_BOUNDS_WIDTH, INFO_PARAM_BOUNDS_X, INFO_PARAM_BOUNDS_Y, INFO_PARAM_DEFAULT_SIZE, INFO_PARAM_MOVEABLE, INFO_PARAM_PRINTABLE_OBJECT_CLASSNAME, INFO_PARAM_SELECTABLE, INFO_PARAM_VISIBLE, INFO_PARAM_ZLEVEL, invalidated, layoutManager, MINIMUM_HEIGHT, moveable, selectable, selected, STROKE, visible, zLevel
Constructor and Description |
---|
PrintableBorder(java.awt.Dimension defaultSize) |
Modifier and Type | Method and Description |
---|---|
PrintableBorder |
clone() |
void |
fromInfos(java.util.Map<java.lang.String,java.lang.Object> mapParams) |
java.lang.String |
getPropertiesPanelClassName() |
void |
paint(java.awt.Graphics g)
Should draw this printable object, depending on its visibility.
|
java.util.Map<java.lang.String,java.lang.Object> |
toInfo() |
cloneImpl, compareTo, contains, createPrintableObjectFromInfos, getBounds, getDefaultSize, getHandleSize, getLayoutManager, getMinimumHeight, getZLevel, hasBorder, hasDefaultSize, invalidateOnSelection, isInvalidated, isMoveable, isSelectable, isSelected, isVisible, mousePressed, paintBorder, paintHandles, resetSize, setBounds, setBounds, setDefaultSize, setHasBorder, setInvalidated, setLayoutManager, setLocation, setMoveable, setSelectable, setSelected, setVisible, setZLevel, toInfo, validateBounds
public java.lang.String getPropertiesPanelClassName()
getPropertiesPanelClassName
in class PrintableObject
public void paint(java.awt.Graphics g) throws java.lang.Exception
PrintableObject
paint
in class PrintableObject
g
- the Graphics object to use.java.lang.Exception
- if any error occurs.public PrintableBorder clone()
clone
in class PrintableObject
public java.util.Map<java.lang.String,java.lang.Object> toInfo()
toInfo
in class PrintableObject
public void fromInfos(java.util.Map<java.lang.String,java.lang.Object> mapParams)
fromInfos
in class PrintableObject