cz.cuni.pogamut.shed.widget
Class ShedDrivesEnvelope

Package class diagram package ShedDrivesEnvelope
java.lang.Object
  extended by org.netbeans.api.visual.widget.Widget
      extended by cz.cuni.pogamut.shed.widget.AbstractShedEnvelope<SlotEnvelope>
          extended by cz.cuni.pogamut.shed.widget.ShedDrivesEnvelope
All Implemented Interfaces:
IPresentedWidget, IShedEnvelope<SlotEnvelope>, Accessible

public class ShedDrivesEnvelope
extends AbstractShedEnvelope<SlotEnvelope>

Envelope containing all view representatin of drives. Since drives are all simple envelopes, just inherit everything and let the layout engine do its work.

Author:
HonzaH

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.Widget.Dependency
 
Field Summary
 
Fields inherited from class cz.cuni.pogamut.shed.widget.AbstractShedEnvelope
scene
 
Method Summary
protected  void updateChildrenPositions()
          Method called when child widget is added/moved/deleted.
 
Methods inherited from class cz.cuni.pogamut.shed.widget.AbstractShedEnvelope
add, add, getChild, getPresenter, move, numberOfChildren, remove, setPresenter
 
Methods inherited from class org.netbeans.api.visual.widget.Widget
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, calculateClientArea, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, paintWidget, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResources
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

updateChildrenPositions

protected void updateChildrenPositions()
Description copied from class: AbstractShedEnvelope
Method called when child widget is added/moved/deleted. Its job is to make sure that children are correctly positioned. What it does depend on layout of the envelope. In many cases, there is no need to do anything, but e.g. absolute layout would require to manually update position of children. Use Widget.setPreferredLocation(java.awt.Point).

Specified by:
updateChildrenPositions in class AbstractShedEnvelope<SlotEnvelope>


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.