Searched refs:axis (Results 26 - 50 of 80) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DTableView.java384 * give axis. Table cells that span multiple columns are excluded
393 void calculateColumnRequirements(int axis) { argument
424 checkSingleColumnCell(axis, col, cv);
447 checkMultiColumnCell(axis, col, colSpan, cv);
459 void checkSingleColumnCell(int axis, int col, View v) { argument
461 req.minimum = Math.max((int) v.getMinimumSpan(axis), req.minimum);
462 req.preferred = Math.max((int) v.getPreferredSpan(axis), req.preferred);
469 void checkMultiColumnCell(int axis, int col, int ncols, View v) { argument
482 int cmin = (int) v.getMinimumSpan(axis);
506 int cpref = (int) v.getPreferredSpan(axis);
542 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
613 calculateMajorAxisRequirements(int axis, SizeRequirements r) argument
645 layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
688 layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
1395 calculateMajorAxisRequirements(int axis, SizeRequirements r) argument
1404 getMinimumSpan(int axis) argument
1417 getMaximumSpan(int axis) argument
1430 getPreferredSpan(int axis) argument
1486 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
1536 layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
1587 layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
1616 getResizeWeight(int axis) argument
1729 layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
1777 calculateMajorAxisRequirements(int axis, SizeRequirements r) argument
1785 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
[all...]
H A DImageView.java126 /** Alignment along the vertical (Y) axis. */
434 * axis.
436 * @param axis may be either X_AXIS or Y_AXIS
442 public float getPreferredSpan(int axis) { argument
446 if (axis == View.X_AXIS && (state & WIDTH_FLAG) == WIDTH_FLAG) {
447 getPreferredSpanFromAltView(axis);
450 if (axis == View.Y_AXIS && (state & HEIGHT_FLAG) == HEIGHT_FLAG) {
451 getPreferredSpanFromAltView(axis);
458 switch (axis) {
464 throw new IllegalArgumentException("Invalid axis
498 getAlignment(int axis) argument
593 getPreferredSpanFromAltView(int axis) argument
990 breakView(int axis, int p0, float pos, float len) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DParagraphView.java371 * Fetches the location along the flow axis that the
612 * axis. This is implemented to give the alignment to the
613 * center of the first row along the y axis, and the default
614 * along the x axis.
616 * @param axis may be either <code>View.X_AXIS</code> or
624 public float getAlignment(int axis) { argument
625 switch (axis) {
638 throw new IllegalArgumentException("Invalid axis: " + axis);
643 * Breaks this view on the given axis a
660 breakView(int axis, float len, Shape a) argument
690 getBreakWeight(int axis, float len) argument
722 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
757 findEdgeSpan(View v, int axis, int fp, int p0, int p1) argument
860 getAlignment(int axis) argument
959 layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
963 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
1019 calculateMajorAxisRequirements(int axis, SizeRequirements r) argument
1031 layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
1136 getMaximumSpan(int axis) argument
[all...]
H A DTableView.java310 * Perform layout for the minor axis of the box (i.e. the
311 * axis orthoginal to the axis that it represents). The results
313 * the allocations to the children along the minor axis. This
315 * updated along the minor axis.
324 * @param axis the axis being layed out.
331 protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) { argument
339 row.layoutChanged(axis);
346 super.layoutMinorAxis(targetSpan, axis, offset
357 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
408 calculateColumnRequirements(int axis) argument
461 checkSingleColumnCell(int axis, int col, View v) argument
472 checkMultiColumnCell(int axis, int col, int ncols, View v) argument
668 layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
712 layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
747 getResizeWeight(int axis) argument
[all...]
H A DView.java63 invalidate just one axis
67 can be done independently upon each axis. For a properly functioning View
226 * axis.
228 * @param axis may be either <code>View.X_AXIS</code> or
236 public abstract float getPreferredSpan(int axis); argument
240 * axis.
242 * @param axis may be either <code>View.X_AXIS</code> or
247 public float getMinimumSpan(int axis) { argument
248 int w = getResizeWeight(axis);
251 return getPreferredSpan(axis);
265 getMaximumSpan(int axis) argument
305 getAlignment(int axis) argument
901 breakView(int axis, int offset, float pos, float len) argument
965 getBreakWeight(int axis, float pos, float len) argument
980 getResizeWeight(int axis) argument
[all...]
H A DFieldView.java200 * axis.
202 * @param axis may be either View.X_AXIS or View.Y_AXIS
208 public float getPreferredSpan(int axis) { argument
209 switch (axis) {
235 return super.getPreferredSpan(axis);
241 * given axis. A value of 0 or less is not resizable.
243 * @param axis View.X_AXIS or View.Y_AXIS
246 public int getResizeWeight(int axis) { argument
247 if (axis == View.X_AXIS) {
H A DFlowView.java58 * @param axis may be either View.X_AXIS or View.Y_AXIS
60 public FlowView(Element elem, int axis) { argument
61 super(elem, axis);
67 * Fetches the axis along which views should be
68 * flowed. By default, this will be the axis
69 * orthogonal to the axis along which the flow
70 * rows are tiled (the axis of the default flow
87 * span inside of the insets along the flow axis
99 * Fetch the location along the flow axis that the
169 * axis ha
229 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
726 getPreferredSpan(int axis) argument
754 getMinimumSpan(int axis) argument
[all...]
H A DPasswordView.java210 * axis.
212 * @param axis may be either View.X_AXIS or View.Y_AXIS
218 public float getPreferredSpan(int axis) { argument
219 switch (axis) {
232 return super.getPreferredSpan(axis);
H A DGlyphView.java310 * Determines the span along the same axis as tab
532 * Determines the minimum span for this view along an axis.
537 * @param axis may be either {@code View.X_AXIS} or {@code View.Y_AXIS}
539 * @throws IllegalArgumentException if the {@code axis} parameter is invalid
543 public float getMinimumSpan(int axis) { argument
544 switch (axis) {
564 return super.getMinimumSpan(axis);
566 throw new IllegalArgumentException("Invalid axis: " + axis);
572 * axis
580 getPreferredSpan(int axis) argument
617 getAlignment(int axis) argument
718 getBreakWeight(int axis, float pos, float len) argument
751 breakView(int axis, int p0, float pos, float len) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/
H A DOneStepIteratorForward.java42 /** The traversal axis from where the nodes will be filtered. */
67 * @param axis One of the com.sun.org.apache.xml.internal.dtm.Axis integers.
71 public OneStepIteratorForward(int axis) argument
75 m_axis = axis;
149 * Returns the axis being iterated, if it is known.
151 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
H A DWalkerFactory.java351 * Get a corresponding BIT_XXX from an axis.
352 * @param axis One of Axis.ANCESTOR, etc.
355 static public int getAnalysisBitFromAxes(int axis) argument
357 switch (axis) // Generate new traverser
778 * Tell if the given axis goes downword. Bogus name, if you can think of
780 * attribute axis.
781 * @param axis One of Axis.XXX.
782 * @return true if the axis is not a child axis and does not go up from
783 * the axis roo
785 isDownwardAxisOfMany(int axis) argument
[all...]
H A DReverseAxesWalker.java42 ReverseAxesWalker(LocPathIterator locPathIterator, int axis) argument
44 super(locPathIterator, axis);
247 /** The DTM inner traversal class, that corresponds to the super axis. */
H A DAxesWalker.java52 public AxesWalker(LocPathIterator locPathIterator, int axis) argument
55 m_axis = axis;
207 int axis = getAxis();
208 int bit = WalkerFactory.getAnalysisBitFromAxes(axis);
503 * Returns the axis being iterated, if it is known.
505 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
587 /** The traversal axis from where the nodes will be filtered. */
590 /** The DTM inner traversal class, that corresponds to the super axis. */
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DSCDImpl.java59 if(i!=0 && i!=len-1 && !steps[i-1].axis.isModelGroup() && steps[i].axis.isModelGroup()) {
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A Dxpath.cup118 public StepPattern createStepPattern(int axis, Object test, Vector predicates) {
122 nodeType = (axis == Axis.ATTRIBUTE) ? NodeTest.ATTRIBUTE :
123 (axis == Axis.NAMESPACE) ? -1 : NodeTest.ELEMENT;
125 return new StepPattern(axis, nodeType, predicates);
130 return new StepPattern(axis, nodeType, predicates);
136 if (axis == Axis.NAMESPACE) {
163 nodeType = (axis == Axis.ATTRIBUTE) ? NodeTest.ATTRIBUTE
170 nodeType = (axis == Axis.ATTRIBUTE) ? _xsltc.registerAttribute(name)
175 final StepPattern result = new StepPattern(axis, nodeType, predicates);
186 public int findNodeType(int axis, Objec
[all...]
H A DUnionPathExpr.java71 final int axis = step.getAxis();
74 if ((axis == Axis.ATTRIBUTE) || (type == DTM.ATTRIBUTE_NODE)) {
79 if (Axis.isReverse(axis)) _reverse = true;
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/
H A DDOM.java61 public DTMAxisIterator getAxisIterator(final int axis); argument
62 public DTMAxisIterator getTypedAxisIterator(final int axis, final int type); argument
64 public DTMAxisIterator getNamespaceAxisIterator(final int axis, final int ns); argument
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLTableCellElement.java71 * Names group of related headers. See the axis attribute definition in
75 public void setAxis(String axis); argument
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DDOMAdapter.java184 public DTMAxisIterator getNamespaceAxisIterator(final int axis, argument
186 return _dom.getNamespaceAxisIterator(axis, getNSReverse()[ns]);
189 public DTMAxisIterator getAxisIterator(final int axis) { argument
191 return _enhancedDOM.getAxisIterator(axis);
194 return _dom.getAxisIterator(axis);
198 public DTMAxisIterator getTypedAxisIterator(final int axis, argument
202 return _enhancedDOM.getTypedAxisIterator(axis, reverse[type]);
204 return _dom.getTypedAxisIterator(axis, type);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicHTML.java396 * Determines the preferred span for this view along an axis.
398 * @param axis may be either X_AXIS or Y_AXIS
404 public float getPreferredSpan(int axis) { argument
405 if (axis == X_AXIS) {
409 return view.getPreferredSpan(axis);
413 * Determines the minimum span for this view along an axis.
415 * @param axis may be either X_AXIS or Y_AXIS
421 public float getMinimumSpan(int axis) { argument
422 return view.getMinimumSpan(axis);
426 * Determines the maximum span for this view along an axis
434 getMaximumSpan(int axis) argument
468 getAlignment(int axis) argument
[all...]
H A DBasicTextAreaUI.java270 protected SizeRequirements calculateMinorAxisRequirements(int axis, argument
272 SizeRequirements req = super.calculateMinorAxisRequirements(axis, r);
343 public float getPreferredSpan(int axis) { argument
348 return v.getPreferredSpan(axis);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DSelector.java124 com.sun.org.apache.xerces.internal.impl.xpath.XPath.Axis axis =
125 fLocationPaths[i].steps[fLocationPaths[i].steps.length-1].axis;
126 if (axis.type == XPath.Axis.ATTRIBUTE) {
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/
H A DDTM.java196 * XPath axis, though not in document order.
198 * @param axis One of Axes.ANCESTORORSELF, etc.
200 * @return A DTMAxisIterator, or null if the givin axis isn't supported.
202 public DTMAxisTraverser getAxisTraverser(final int axis); argument
210 * @param axis One of Axes.ANCESTORORSELF, etc.
212 * @return A DTMAxisIterator, or null if the givin axis isn't supported.
214 public DTMAxisIterator getAxisIterator(final int axis); argument
220 * @param axis
223 * @return A DTMAxisIterator, or null if the givin axis isn't supported.
225 public DTMAxisIterator getTypedAxisIterator(final int axis, fina argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBox.java83 * along the the specified axis.
85 * @param axis can be {@link BoxLayout#X_AXIS},
89 * @throws AWTError if the <code>axis</code> is invalid
93 public Box(int axis) { argument
95 super.setLayout(new BoxLayout(this, axis));
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/
H A DXPath.java241 Axis axis = new Axis(Axis.SELF);
243 Step step = new Step(axis, nodeTest);
252 axis = new Axis(Axis.DESCENDANT);
254 step = new Step(axis, nodeTest);
407 if (i > 0 && (steps[i-1].axis.type!=Axis.DESCENDANT
408 && steps[i].axis.type!=Axis.DESCENDANT) ){
433 * A location path step comprised of an axis and node test.
447 public Axis axis; field in class:XPath.Step
456 /** Constructs a step from an axis and node test. */
457 public Step(Axis axis, NodeTes argument
539 Axis(Axis axis) argument
[all...]

Completed in 80 milliseconds

1234