Searched defs:child (Results 1 - 22 of 22) sorted by relevance

/solaris-userland-s11u3/components/visual-panels/smf/src/java/vpanels/app/smf/com/oracle/solaris/vp/panels/smf/client/swing/
H A DServiceTabbedControl.java89 protected boolean isInsettable(Control child) { argument
90 if (child instanceof SmfDependenciesControl ||
91 child instanceof SmfPropertiesControl) {
H A DInstanceTabbedControl.java145 protected boolean isInsettable(Control child) { argument
146 if (child instanceof SmfDependenciesControl ||
147 child instanceof SmfPropertiesControl ||
148 child instanceof SmfLogControl) {
H A DMainControl.java251 protected int getListIndexOf(Control child) { argument
252 if (child instanceof ServiceTabbedControl) {
257 ((InstanceTabbedControl)child).getSmfManagedObject();
/solaris-userland-s11u3/components/visual-panels/apache/src/java/vpanels/app/apache/com/oracle/solaris/vp/panels/apache/client/swing/
H A DMainControl.java221 protected int getListIndexOf(Control child) { argument
222 if (child instanceof GlobalControl) {
226 VirtualHost vHost = ((VirtualHostControl)child).getVirtualHost();
H A DMimeTypesControl.java106 SwingControl child = new MimeTypeControl(descriptor, this);
107 addChildren(child);
108 addToLayout(child);
146 protected int getListIndexOf(Control child) { argument
147 MimeType mimeType = ((MimeTypeControl)child).getMimeType();
H A DModulesControl.java105 SwingControl child = new ModuleControl(descriptor, this);
106 addChildren(child);
107 addToLayout(child);
145 protected int getListIndexOf(Control child) { argument
146 Module module = ((ModuleControl)child).getModule();
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/app/browser/com/oracle/solaris/vp/panels/browser/client/swing/
H A DBrowserControl.java153 protected int getListIndexOf(Control child) { argument
154 PanelManagedObject panel = ((PanelControl)child).getManagedObject();
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/panel/com/oracle/solaris/vp/panel/swing/control/
H A DChildControlListSelectorControl.java92 protected int getListIndexOf(Control child) { argument
93 return children.indexOf(child);
101 for (O child : objects_) {
102 dModel.addElement(child);
103 child.addPropertyChangeListener(dModel);
128 public void addChild(O child) { argument
129 objects_.add(child);
130 super.addChildren(child.getControl());
131 addToLayout(child.getControl());
H A DTabbedControl.java38 * The {@code TabbedControl} displays its child {@link Control}s as tabs within
40 * to the child {@link Control}s, and vice-versa. The {@code Component} for
41 * each tab is determined by the child's {@link HasTabComponent#getTabComponent}
128 public void childStarted(Control child) { argument
129 super.childStarted(child);
131 int index = children.indexOf(child);
165 for (Control child : children) {
166 Icon icon = PanelIconUtil.getIcon(child, ICON_HEIGHT_TAB, false);
169 if (child instanceof SwingControl) {
170 comp = ((SwingControl)child)
207 isInsettable(Control child) argument
[all...]
H A DListSelectorControl.java173 Control child = getRunningChild();
174 if (child != null) {
175 final int index = getListIndexOf(child);
196 * Gets the index of the list item that corresponds to the given child
201 protected abstract int getListIndexOf(Control child); argument
H A DSelectorControl.java64 public void childStarted(Control child) { argument
65 super.childStarted(child);
67 if (child instanceof SwingControl) {
68 addToLayout((SwingControl)child);
73 cards.show(contentCardPane, child.getId());
81 public void childStopped(Control child) { argument
82 super.childStopped(child);
144 * subclasses may call it when creating child {@link Control}s if there is a
156 for (final SwingControl child : children) {
157 final Component comp = child
247 isInsettable(Control child) argument
[all...]
H A DTreeSelectorControl.java144 Control child = getRunningChild();
145 if (child != null) {
146 final TreePath path = getTreePathOf(child);
210 * Gets the {@code TreePath} that corresponds to the given child {@code
216 protected abstract TreePath getTreePathOf(Control child); argument
254 Object child = model.getChild(object, i);
255 TreePath childPath = path.pathByAddingChild(child);
/solaris-userland-s11u3/components/visual-panels/firewall/src/java/vpanels/app/firewall/com/oracle/solaris/vp/panels/firewall/client/swing/
H A DGlobalControl.java70 public void childStarted(Control child) { argument
71 super.childStarted(child);
74 ((SettingsControl<?, ?>)child).getComponent().
H A DMainControl.java66 public void childStarted(Control child) { argument
67 super.childStarted(child);
69 if (child instanceof ServiceEditControl) {
71 ((SettingsControl<?, ?>)child).getComponent().
75 ((GlobalControl)child).getChangeableAggregator());
80 public void childStopped(Control child) { argument
81 super.childStopped(child);
83 if (child instanceof ServiceEditControl) {
85 ((SettingsControl<?, ?>)child).getComponent().
89 ((GlobalControl)child)
160 getListIndexOf(Control child) argument
[all...]
/solaris-userland-s11u3/components/visual-panels/smf/src/java/vpanels/app/svcs/com/oracle/solaris/vp/panels/svcs/client/swing/
H A DSvcsControl.java91 InstancesControl child = new InstancesControl(getPanelDescriptor());
92 addChildren(child);
93 addToLayout(child);
144 protected boolean isInsettable(Control child) { argument
153 protected int getListIndexOf(Control child) { argument
154 InstanceFilter filter = ((InstancesControl)child).getFilter();
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/tree/
H A DNotifyingTreeNode.java104 public void insert(MutableTreeNode child, int index) { argument
105 super.insert(child, index);
107 if (child instanceof TreeModelListener) {
108 ((NotifyingTreeNode)child).addTreeModelListener(this);
114 TreeNode child = getChildAt(index);
115 if (child instanceof TreeModelListener) {
116 ((NotifyingTreeNode)child).removeTreeModelListener(this);
149 * Called when child {@code TreeNode}s of this {@code TreeNode} have
/solaris-userland-s11u3/components/visual-panels/usermgr/src/java/vpanels/app/usermgr/com/oracle/solaris/vp/panels/usermgr/client/swing/
H A DMainControl.java204 protected int getListIndexOf(Control child) { argument
206 ((UserMgrBasicControl)child).getUserManagedObject();
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/client/com/oracle/solaris/vp/client/common/
H A DConnectionManager.java116 public void add(MutableTreeNode child) { argument
117 super.add(child);
118 DependencyTreeNode node = (DependencyTreeNode)child;
126 public void remove(MutableTreeNode child) { argument
127 super.remove(child);
128 DependencyTreeNode node = (DependencyTreeNode)child;
302 for (TreeNode child : failed.getChildren()) {
303 node.add((MutableTreeNode)child);
305 if (child instanceof ListenerTreeNode) {
311 ((ListenerTreeNode)child)
[all...]
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/panel/com/oracle/solaris/vp/panel/common/control/
H A DControl.java67 private Control child; field in class:Control
172 * Saves the given child as the {@link #getRunningChild running child}.
173 * Called by {@link #descendantStarted} when a child of this {@code Control}
177 * if the running child has already been set
179 public void childStarted(Control child) { argument
180 if (this.child != null) {
181 throw new IllegalStateException("child already started");
184 this.child = child;
195 childStopped(Control child) argument
[all...]
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/panel/com/oracle/solaris/vp/panel/common/model/
H A DAbstractManagedObject.java224 * AbstractManagedObject}'s child list.
236 for (C child : toAdd) {
244 children, child, comparator);
250 child.addPropertyChangeListener(sortListener);
251 child.addPropertyChangeListener(statusListener);
255 children.add(index, child);
340 * @return a {@code Comparator}, or {@code null} if the child list
367 * Returns the index of the given child in this {@code
368 * AbstractManagedObject}'s child list.
370 * @param child
375 indexOf(C child) argument
572 indexOf(List<C> children, C child) argument
[all...]
H A DFilterManagedObject.java75 for (T child : children) {
76 if (pred_.test(child)) {
77 children_.add(child);
138 * Refreshes the child view. Used if the behavior of the
150 * @param index the index of the new inbound child
151 * @return the index of the corresponding outbound child
381 protected void managedObjectPropertyChange(T child, PropertyChangeEvent evt) argument
384 int index = listenees_.indexOf(child);
385 boolean match = pred_.test(child);
390 children_.add(mapping, child);
[all...]
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/layout/
H A DAbstractTableLayout.java115 public void add(CellInfo child) { argument
116 children.add(child);
117 child.add(this);
121 * Called by the child when it is removed from layout.
123 public boolean childRemoved(CellInfo child) { argument
124 boolean ret = children.remove(child);
140 * Get the maximum size (row height or column width) of every child
146 for (CellInfo child : children) {
147 Dimension d = child.getSize();
176 * Remove the given child i
179 remove(CellInfo child) argument
[all...]

Completed in 120 milliseconds