public class SimpleBox extends AbstractBox
AbstractBox
. It
does nor draws nothing.Rectangle2D.Double, Rectangle2D.Float
border, shape, specialShape
height, width, x, y
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP
Constructor and Description |
---|
SimpleBox(AbstractBox parent,
JComponent container,
BoxBase boxBase)
Creates new SimpleBox
|
Modifier and Type | Method and Description |
---|---|
boolean |
update(Graphics2D g2,
Rectangle dirtyRegion,
ImageObserver io) |
boolean |
updateContent(Graphics2D g2,
Rectangle dirtyRegion,
ImageObserver io) |
checkHostedComponent, clone, contains, drawBorder, end, finalize, getAbsoluteLocation, getAbsoulteMiddleLocation, getBorderBounds, getBoxBaseResolve, getBoxBaseX, getContainerResolve, getContainerX, getHostedComponent, getLocation, getParent, getShape, hasBorder, isAlternative, isFocused, isInactive, isInverted, isMarked, isTemporaryHidden, isVisible, repaint, setAlternative, setBorder, setBounds, setBounds, setBoxBase, setContainer, setFocused, setHostedComponent, setInactive, setInverted, setLocation, setLocation, setMarked, setParent, setShape, setSize, setSize, setTemporaryHidden, setVisible, translate
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect, toString
add, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union
contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal
public SimpleBox(AbstractBox parent, JComponent container, BoxBase boxBase)
public boolean update(Graphics2D g2, Rectangle dirtyRegion, ImageObserver io)
update
in class AbstractBox
public boolean updateContent(Graphics2D g2, Rectangle dirtyRegion, ImageObserver io)
updateContent
in class AbstractBox
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.