Searched refs:constraints (Results 1 - 25 of 61) sorted by relevance

123

/openjdk7/jdk/src/share/classes/java/awt/
H A DGridBagLayout.java39 * an instance of {@link GridBagConstraints}. The constraints object
42 * addition to its constraints object, the <code>GridBagLayout</code> also
266 * In addition, the components have the following non-default constraints:
383 * a component and its gridbag constraints.
393 * This field holds a gridbag constraints instance
395 * does not have gridbag constraints associated with
494 * Sets the constraints for the specified component in this layout.
496 * @param constraints the constraints to be applied
498 public void setConstraints(Component comp, GridBagConstraints constraints) { argument
698 addLayoutComponent(Component comp, Object constraints) argument
1543 calculateBaseline(Component c, GridBagConstraints constraints, Dimension size) argument
1602 adjustForGravity(GridBagConstraints constraints, Rectangle r) argument
1616 AdjustForGravity(GridBagConstraints constraints, Rectangle r) argument
[all...]
H A DLayoutManager2.java29 * based on a layout constraints object.
51 * @param constraints where/how the component is added to the layout.
53 void addLayoutComponent(Component comp, Object constraints); argument
H A DBorderLayout.java85 * preferred sizes and the constraints of the container's size.
413 * @param constraints an object that specifies how and where
421 public void addLayoutComponent(Component comp, Object constraints) { argument
423 if ((constraints == null) || (constraints instanceof String)) {
424 addLayoutComponent((String)constraints, comp);
505 * @param constraints the desired constraint, one of <code>CENTER</code>,
517 public Component getLayoutComponent(Object constraints) { argument
518 if (CENTER.equals(constraints)) {
520 } else if (NORTH.equals(constraints)) {
566 getLayoutComponent(Container target, Object constraints) argument
[all...]
/openjdk7/jdk/test/javax/swing/SpringLayout/4726194/
H A Dbug4726194.java64 String[] constraints = horizontal ? hConstraints : vConstraints;
65 test(level, constraints, result, Arrays.asList(new Object[level]));
69 for (int j = 0; j < constraints.length; j++) {
70 String constraint = constraints[j];
82 for (int j = 0; j < constraints.length; j++) {
83 String constraint = constraints[j];
90 for (int j = 0; j < constraints.length; j++) {
91 String constraint = constraints[j];
147 public static void test(int level, String[] constraints, List result, List soFar) { argument
152 for (int i = 0; i < constraints
[all...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djava_awt_BorderLayout.java77 private static void update(BorderLayout layout, String constraints) { argument
78 layout.addLayoutComponent(new JLabel(constraints), constraints);
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DBuilder.java247 * @param constraints Current NameConstraints; if null,
283 static int targetDistance(NameConstraintsExtension constraints, argument
287 /* ensure that certificate satisfies existing name constraints */
288 if (constraints != null && !constraints.verify(cert)) {
290 + "constraints");
332 if (constraints != null) {
333 constraints.merge(ncExt);
338 constraints = (NameConstraintsExtension) ncExt.clone();
342 debug.println("Builder.targetDistance() merged constraints
[all...]
H A DAlgorithmChecker.java62 * specified certificate contains the required algorithm constraints.
66 * the specified algorithm constraints.
73 private final AlgorithmConstraints constraints; field in class:AlgorithmChecker
86 * constraints specified in security property
104 * @param constraints the algorithm constraints (or null)
106 public AlgorithmChecker(AlgorithmConstraints constraints) { argument
109 this.constraints = constraints;
118 * @param constraints th
122 AlgorithmChecker(TrustAnchor anchor, AlgorithmConstraints constraints) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJSplitPane.java960 * If <code>constraints</code> identifies the left/top or
963 * will be added in its place. If <code>constraints</code> is not
967 * The possible constraints objects (Strings) are:
974 * If the <code>constraints</code> object is <code>null</code>,
979 * @param constraints an <code>Object</code> specifying the
980 * layout constraints
984 * @exception IllegalArgumentException if the <code>constraints</code>
988 protected void addImpl(Component comp, Object constraints, int index) argument
992 if (constraints != null && !(constraints instanceo
[all...]
H A DSpringLayout.java38 * according to a set of constraints.
64 * has exactly one set of constraints
66 * These constraints are represented by
69 * <code>SpringLayout</code> creates constraints
83 * a component's constraints in several ways.
99 * with a component by specifying the constraints object
127 * of the <code>SpringLayout</code> when presented with constraints linking
145 * Depending on the constraints you use,
165 * creating the constraints implied by the other layout managers.
168 * is linear in the number of constraints (an
999 addLayoutComponent(Component component, Object constraints) argument
1084 applyDefaults(Component c, Constraints constraints) argument
1102 applyDefaults(Constraints constraints, String name1, Spring spring1, String name2, Spring spring2, List<String> history) argument
1122 putConstraints(Component component, Constraints constraints) argument
[all...]
H A DJApplet.java301 * @param constraints the constraints to be respected
311 protected void addImpl(Component comp, Object constraints, int index) argument
314 getContentPane().add(comp, constraints, index);
317 super.addImpl(comp, constraints, index);
H A DJWindow.java392 * @param constraints the constraints to be respected
402 protected void addImpl(Component comp, Object constraints, int index) argument
405 getContentPane().add(comp, constraints, index);
408 super.addImpl(comp, constraints, index);
H A DCellRendererPane.java101 protected void addImpl(Component x, Object constraints, int index) { argument
106 super.addImpl(x, constraints, index);
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DX509TrustManagerImpl.java188 AlgorithmConstraints constraints = null;
206 // create the algorithm constraints
216 constraints = new SSLAlgorithmConstraints(
219 constraints =
223 constraints = new SSLAlgorithmConstraints(sslSocket, false);
229 trustedChain = validate(v, chain, constraints, null);
231 trustedChain = validate(v, chain, constraints, authType);
243 AlgorithmConstraints constraints = null;
258 // create the algorithm constraints
268 constraints
321 validate(Validator v, X509Certificate[] chain, AlgorithmConstraints constraints, String authType) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/msg/
H A DXMLSchemaMessages_sv.properties43 # Identity constraints
61 # "Identity constraints". And we should cover all of the following errors.
H A DXMLSchemaMessages_fr.properties43 # Identity constraints
61 # "Identity constraints". And we should cover all of the following errors.
H A DXMLSchemaMessages_es.properties43 # Identity constraints
61 # "Identity constraints". And we should cover all of the following errors.
H A DXMLSchemaMessages_it.properties43 # Identity constraints
61 # "Identity constraints". And we should cover all of the following errors.
H A DXMLSchemaMessages_ko.properties43 # Identity constraints
61 # "Identity constraints". And we should cover all of the following errors.
H A DXMLSchemaMessages_zh_CN.properties43 # Identity constraints
61 # "Identity constraints". And we should cover all of the following errors.
H A DXMLSchemaMessages_zh_TW.properties43 # Identity constraints
61 # "Identity constraints". And we should cover all of the following errors.
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLParameters.java34 * algorithm during SSL/TLS handshaking, the algorithm constraints and
191 * Returns the cryptographic algorithm constraints.
193 * @return the cryptographic algorithm constraints, or null if the
194 * constraints have not been set
205 * Sets the cryptographic algorithm constraints, which will be used
208 * If the <code>constraints</code> parameter is non-null, every
210 * SSL/TLS handshake must be permitted by the constraints.
212 * @param constraints the algorithm constraints (or null)
216 public void setAlgorithmConstraints(AlgorithmConstraints constraints) { argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/validator/
H A DValidator.java245 * @param constraints algorithm constraints for certification path
258 AlgorithmConstraints constraints,
260 chain = engineValidate(chain, otherCerts, constraints, parameter);
272 AlgorithmConstraints constraints,
256 validate(X509Certificate[] chain, Collection<X509Certificate> otherCerts, AlgorithmConstraints constraints, Object parameter) argument
270 engineValidate(X509Certificate[] chain, Collection<X509Certificate> otherCerts, AlgorithmConstraints constraints, Object parameter) argument
H A DSimpleValidator.java126 AlgorithmConstraints constraints,
144 // create default algorithm constraints checker
148 // create application level algorithm constraints checker
150 if (constraints != null) {
151 appAlgChecker = new AlgorithmChecker(anchor, constraints);
222 // Check the basic constraints extension
304 int constraints = cert.getBasicConstraints();
305 // reject, if extension missing or not a CA (constraints == -1)
306 if (constraints < 0) {
315 throw new ValidatorException("Violated path length constraints",
124 engineValidate(X509Certificate[] chain, Collection<X509Certificate> otherCerts, AlgorithmConstraints constraints, Object parameter) argument
[all...]
/openjdk7/jdk/test/javax/management/openmbean/
H A DOpenTypeDescriptorTest.java43 Descriptor constraints =
54 false, true, false, constraints),
69 SimpleType.INTEGER, constraints),
85 ACTION, constraints),
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DLdapLoginModule.java375 private SearchControls constraints = null; field in class:LdapLoginModule
425 constraints = new SearchControls();
426 constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
427 constraints.setReturningAttributes(new String[0]); //return no attrs
428 constraints.setReturningObjFlag(true); // to get the full DN
434 if (constraints != null) {
437 constraints.setReturningAttributes(
882 replaceUsernameToken(filterMatcher, userFilter), constraints);
891 // (can remove call to constraints.setReturningObjFlag)

Completed in 128 milliseconds

123