This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<class package="org.netbeans.api.visual.layout" name="LayoutFactory" link="yes"/>
<issue number="105390"/>
</change>
<change>
<api name="general"/>
<summary>Widget.getDependencies method added</summary>
<version major="2" minor="5"/>
<date day="21" month="6" year="2007"/>
<author login="dkaspar"/>
<compatibility addition="yes"/>
<description>
Widget.getDependencies method is added
</description>
<class package="org.netbeans.api.visual.widget" name="Widget" link="yes"/>
<issue number="107446"/>
</changes>
<htmlcontents>
Manifest-Version: 1.0
OpenIDE-Module: org.netbeans.api.visual
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/visual/resources/Bundle.properties
OpenIDE-Module-Specification-Version: 2.4
OpenIDE-Module-Specification-Version: 2.5
import javax.accessibility.AccessibleContext;
import java.awt.*;
import java.awt.geom.AffineTransform;
import java.util.ArrayList;
import java.util.*;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
/**
if (dependencies == null)
return;
dependencies.remove (dependency);
}
* Returns a collection of registered dependencies.
* @return the unmodifiable collection of dependencies
* @since 2.5
*/
public final Collection<Dependency> getDependencies () {
return dependencies != null ? Collections.unmodifiableCollection (dependencies) : Collections.<Dependency>emptyList ();
<td>getLookup
<td>Returns lookup. Not used right now - it will be used later for extending the Widget functionality when the API is stable and incompatible API changes are forbidden.
<tr>
<td>addDependency<br>removeDependency
<td>addDependency<br>removeDependency<br>getDependencies
<td>Allows to assigned a <code>Widget.Dependency</code> listener to the widget for notifying about widget location or boundary changes. Widely used by Anchors. See: <a href="#WidgetDependency">Widget Dependency</a> section.
<td>isVisible<br>setVisible