Searched refs:child (Results 1 - 25 of 48) sorted by relevance

12

/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 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);
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
/solaris-userland-s11u3/components/visual-panels/firewall/src/java/vpanels/app/firewall/com/oracle/solaris/vp/panels/firewall/client/swing/
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...]
H A DRemoveServiceAction.java129 Control child = control.getRunningChild();
130 if (child instanceof ServiceEditControl) {
132 ((ServiceEditControl)child).getManagedService();
135 child.doCancel();
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/panel/com/oracle/solaris/vp/panel/common/control/
H A DDefaultControl.java113 for (Control child : children) {
114 if (child.getId().equals(id)) {
115 return child;
124 * Calls {@link #ensureChildrenCreated}, then returns a list of all child
137 for (Control child : children) {
138 if (child.isBrowsable()) {
139 navigables.add(child);
172 for (Control child : controls) {
173 if (!children.contains(child)) {
174 children.add(child);
[all...]
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/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
H A DTreeTableModelAdapter.java166 for (Object child : e.getChildren()) {
167 TreeNode node = (TreeNode)child;
191 TreeNode child = (TreeNode)children[i];
192 int last = addRows(first, child, level) - 1;
210 TreeNode child = (TreeNode)children[i];
211 int first = indexOf(child);
212 int last = indexOf(child, -1) - 1;
323 TreeNode child = (TreeNode)i.nextElement();
324 index = addRows(index, child, level);
331 * Gets the index of the {@code (childIndex + 1)}th child o
[all...]
/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/client/com/oracle/solaris/vp/client/swing/
H A DAppRootControl.java97 Control child = super.getChildControl(id);
98 if (child == null) {
105 child = factory.getPanelDescriptor(panel).getControl();
106 addChildren(child);
121 return child;
181 Control child = getRunningChild();
182 if (child != null && child instanceof DefaultControl) {
183 return ((DefaultControl)child).getPanelDescriptor();
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/panel/com/oracle/solaris/vp/panel/common/smf/
H A DPropertyGroupsManagedObject.java147 PropertyGroupManagedObject child = getChild(group);
148 if (child == null) {
149 child = new PropertyGroupManagedObject(this, group);
150 addChildren(child);
152 toRemove.remove(child);
153 child.refresh(force);
/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/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...]
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/misc/
H A DXMLUtil.java38 Node child = children.item(i);
39 if (child.getNodeType() == Node.TEXT_NODE) {
40 buffer.append(child.getNodeValue());
/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) {
/solaris-userland-s11u3/components/visual-panels/apache/src/java/vpanels/app/apache/com/oracle/solaris/vp/panels/apache/client/swing/
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();
H A DDeleteMimeTypeAction.java118 Control child = control.getRunningChild();
119 if (child instanceof MimeTypeControl) {
120 MimeType mimeType = ((MimeTypeControl)child).getMimeType();
122 child.doCancel();
H A DDeleteModuleAction.java118 Control child = control.getRunningChild();
119 if (child instanceof ModuleControl) {
120 Module module = ((ModuleControl)child).getModule();
122 child.doCancel();
H A DDeleteVirtualHostAction.java133 Control child = control.getRunningChild();
134 if (child instanceof VirtualHostControl) {
136 ((VirtualHostControl)child).getVirtualHost();
139 child.doCancel();
/solaris-userland-s11u3/components/visual-panels/usermgr/src/java/vpanels/app/usermgr/com/oracle/solaris/vp/panels/usermgr/client/swing/
H A DDeleteUserAction.java122 Control child = control.getRunningChild();
123 if (child instanceof UserMgrBasicControl) {
125 ((UserMgrBasicControl)child).getUserManagedObject();
128 child.doCancel();

Completed in 5254 milliseconds

12