Search this API

y.view.hierarchy
Interface AutoBoundsFeature

All Known Implementing Classes:
GroupNodeRealizer, ProxyAutoBoundsNodeRealizer

public interface AutoBoundsFeature

Additional interface for node realizers whose bounds may be determined by other factors then explicit bound assignment.

 

Method Summary
 YInsets getAutoBoundsInsets()
          Returns the currently set auto bounds insets.
 java.awt.geom.Rectangle2D getMinimalAutoBounds()
          Returns the minimal auto bounds of this object.
 boolean isAutoBoundsEnabled()
          Queries whether or not auto bounds are enabled
 void setAutoBoundsEnabled(boolean enabled)
          Enabled or disabled the auto bounds feature.
 void setAutoBoundsInsets(YInsets insets)
          Sets auto bounds insets.
 

Method Detail

setAutoBoundsEnabled

void setAutoBoundsEnabled(boolean enabled)
Enabled or disabled the auto bounds feature. If disabled, the realizer's bounds can be set manually. If enabled the auto bounds insets will be influenced by the currently set size of the realizer.


isAutoBoundsEnabled

boolean isAutoBoundsEnabled()
Queries whether or not auto bounds are enabled


getMinimalAutoBounds

java.awt.geom.Rectangle2D getMinimalAutoBounds()
Returns the minimal auto bounds of this object.


setAutoBoundsInsets

void setAutoBoundsInsets(YInsets insets)
Sets auto bounds insets. The specified insets will be added to the minimal auto bounds.


getAutoBoundsInsets

YInsets getAutoBoundsInsets()
Returns the currently set auto bounds insets.


© Copyright 2000-2021,
yWorks GmbH.
All rights reserved.