Searched refs:axis (Results 1 - 25 of 80) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DBRView.java50 public int getBreakWeight(int axis, float pos, float len) { argument
51 if (axis == X_AXIS) {
54 return super.getBreakWeight(axis, pos, len);
H A DBlockView.java48 * @param axis either View.X_AXIS or View.Y_AXIS
50 public BlockView(Element elem, int axis) { argument
51 super(elem, axis);
80 * axis (i.e. the axis along with it tiles). This is implemented
83 * the axis.
85 protected SizeRequirements calculateMajorAxisRequirements(int axis, SizeRequirements r) { argument
89 if (! spanSetFromAttributes(axis, r, cssWidth, cssHeight)) {
90 r = super.calculateMajorAxisRequirements(axis, r);
96 axis, nul
115 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
183 isPercentage(int axis, AttributeSet a) argument
202 spanSetFromAttributes(int axis, SizeRequirements r, CSS.LengthValue cssWidth, CSS.LengthValue cssHeight) argument
235 layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
305 getResizeWeight(int axis) argument
322 getAlignment(int axis) argument
361 getPreferredSpan(int axis) argument
377 getMinimumSpan(int axis) argument
393 getMaximumSpan(int axis) argument
429 constrainSize(int axis, SizeRequirements want, SizeRequirements min) argument
[all...]
H A DLineView.java65 * axis. The preformatted line should refuse to be
68 * @param axis may be either <code>View.X_AXIS</code> or
73 public float getMinimumSpan(int axis) { argument
74 return getPreferredSpan(axis);
78 * Gets the resize weight for the specified axis.
80 * @param axis may be either X_AXIS or Y_AXIS
83 public int getResizeWeight(int axis) { argument
84 switch (axis) {
90 throw new IllegalArgumentException("Invalid axis: " + axis);
100 getAlignment(int axis) argument
[all...]
H A DNoFramesView.java47 * @param axis either View.X_AXIS or View.Y_AXIS
49 public NoFramesView(Element elem, int axis) { argument
50 super(elem, axis);
122 * axis.
124 * @param axis may be either View.X_AXIS or View.Y_AXIS
131 public float getPreferredSpan(int axis) { argument
135 return super.getPreferredSpan(axis);
140 * axis. Returns 0 if the view is not visible, otherwise
143 * @param axis may be either <code>View.X_AXIS</code> or
148 public float getMinimumSpan(int axis) { argument
165 getMaximumSpan(int axis) argument
[all...]
H A DEditableView.java51 public float getMinimumSpan(int axis) { argument
53 return super.getMinimumSpan(axis);
58 public float getPreferredSpan(int axis) { argument
60 return super.getPreferredSpan(axis);
65 public float getMaximumSpan(int axis) { argument
67 return super.getMaximumSpan(axis);
H A DParagraphView.java138 * Calculate the needs for the paragraph along the minor axis.
144 * <p>If the {@code axis} parameter is neither {@code View.X_AXIS} nor
150 * @param axis the minor axis
153 * @throws IllegalArgumentException if the {@code axis} parameter is invalid
156 int axis, SizeRequirements r) {
157 r = super.calculateMinorAxisRequirements(axis, r);
159 if (BlockView.spanSetFromAttributes(axis, r, cssWidth, cssHeight)) {
162 int margin = (axis == X_AXIS) ? getLeftInset() + getRightInset() :
240 * axis
155 calculateMinorAxisRequirements( int axis, SizeRequirements r) argument
249 getPreferredSpan(int axis) argument
266 getMinimumSpan(int axis) argument
283 getMaximumSpan(int axis) argument
[all...]
H A DFrameSetView.java61 public FrameSetView(Element elem, int axis) { argument
62 super(elem, axis);
154 * Perform layout for the major axis of the box (i.e. the
155 * axis that it represents). The results of the layout should
157 * to the children along the major axis.
161 * @param axis the axis being layed out
170 protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, argument
177 axis),
181 protected SizeRequirements[] getChildRequests(int targetSpan, int axis) { argument
[all...]
H A DHiddenTagView.java80 public float getAlignment(int axis) { argument
81 if (axis == View.Y_AXIS) {
87 public float getMinimumSpan(int axis) { argument
88 if (axis == View.X_AXIS && isVisible()) {
90 return Math.max(30, super.getPreferredSpan(axis));
92 return super.getMinimumSpan(axis);
95 public float getPreferredSpan(int axis) { argument
96 if (axis == View.X_AXIS && isVisible()) {
97 return Math.max(30, super.getPreferredSpan(axis));
99 return super.getPreferredSpan(axis);
102 getMaximumSpan(int axis) argument
[all...]
H A DListView.java53 public float getAlignment(int axis) { argument
54 switch (axis) {
60 throw new IllegalArgumentException("Invalid axis: " + axis);
H A DInlineView.java131 * @param axis may be either View.X_AXIS or View.Y_AXIS
146 public int getBreakWeight(int axis, float pos, float len) { argument
150 return super.getBreakWeight(axis, pos, len);
154 * Tries to break this view on the given axis. Refer to
157 * <p>Behavior of this method is unspecified in case <code>axis</code>
162 * @param axis may be either <code>View.X_AXIS</code> or
168 * @param pos the position along the axis that the
171 * @param len specifies the distance along the axis
178 public View breakView(int axis, int offset, float pos, float len) { argument
179 return super.breakView(axis, offse
[all...]
H A DHRuleView.java173 * @param axis may be either X_AXIS or Y_AXIS
177 public float getPreferredSpan(int axis) { argument
178 switch (axis) {
194 throw new IllegalArgumentException("Invalid axis: " + axis);
199 * Gets the resize weight for the axis.
202 * @param axis may be either X_AXIS or Y_AXIS
205 public int getResizeWeight(int axis) { argument
206 if (axis == View.X_AXIS) {
208 } else if (axis
230 getBreakWeight(int axis, float pos, float len) argument
237 breakView(int axis, int offset, float pos, float len) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/axes/
H A DWalkingIteratorSorted.java106 int axis = walker.getAxis();
110 boolean isSimpleDownAxis = ((axis == Axis.CHILD)
111 || (axis == Axis.SELF)
112 || (axis == Axis.ROOT));
115 if(isSimpleDownAxis || (axis == -1))
122 if(walker.isDocOrdered() && (axis == Axis.DESCENDANT ||
123 axis == Axis.DESCENDANTORSELF || axis == Axis.DESCENDANTSFROMROOT
124 || axis == Axis.DESCENDANTSORSELFFROMROOT) || (axis
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DRelativeLocationPath.java32 public abstract void setAxis(int axis); argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DStep.java44 public final Axis<? extends T> axis; field in class:Step
56 protected Step(Axis<? extends T> axis) { argument
57 this.axis = axis;
73 return filter(axis.iterator(contextNode));
97 public Any(Axis<? extends XSComponent> axis) { argument
98 super(axis);
108 protected Filtered(Axis<? extends T> axis) { argument
109 super(axis);
130 public Named(Axis<? extends XSDeclaration> axis, UNam argument
134 Named(Axis<? extends XSDeclaration> axis, String nsUri, String localName) argument
149 AnonymousType(Axis<? extends XSType> axis) argument
163 Facet(Axis<XSFacet> axis, String facetName) argument
178 Schema(Axis<XSSchema> axis, String uri) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DIconView.java77 * axis.
79 * @param axis may be either View.X_AXIS or View.Y_AXIS
84 * @exception IllegalArgumentException for an invalid axis
86 public float getPreferredSpan(int axis) { argument
87 switch (axis) {
93 throw new IllegalArgumentException("Invalid axis: " + axis);
99 * axis. This is implemented to give the alignment to the
100 * bottom of the icon along the y axis, and the default
101 * along the x axis
110 getAlignment(int axis) argument
[all...]
H A DBoxView.java35 * its children along an axis. The box is somewhat like that
40 * lists, columns, pages, etc. The axis along which the children are tiled is
41 * considered the major axis. The orthoginal axis is the minor axis.
43 * Layout for each axis is handled separately by the methods
50 * along the axis changes, or if <code>layoutChanged</code> is
67 * @param axis either <code>View.X_AXIS</code> or <code>View.Y_AXIS</code>
69 public BoxView(Element elem, int axis) { argument
72 this.majorAxis = axis;
105 setAxis(int axis) argument
127 layoutChanged(int axis) argument
142 isLayoutValid(int axis) argument
297 getResizeWeight(int axis) argument
321 setSpanOnAxis(int axis, float span) argument
379 getSpanOnAxis(int axis) argument
523 getAlignment(int axis) argument
544 getPreferredSpan(int axis) argument
567 getMinimumSpan(int axis) argument
590 getMaximumSpan(int axis) argument
760 layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
833 layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) argument
862 calculateMajorAxisRequirements(int axis, SizeRequirements r) argument
896 calculateMinorAxisRequirements(int axis, SizeRequirements r) argument
924 checkRequests(int axis) argument
955 baselineLayout(int targetSpan, int axis, int[] offsets, int[] spans) argument
1006 baselineRequirements(int axis, SizeRequirements r) argument
1099 getOffset(int axis, int childIndex) argument
1110 getSpan(int axis, int childIndex) argument
[all...]
H A DComponentView.java123 * axis. This is implemented to return the value
125 * axis of interest.
127 * @param axis may be either View.X_AXIS or View.Y_AXIS
132 * @exception IllegalArgumentException for an invalid axis
134 public float getPreferredSpan(int axis) { argument
135 if ((axis != X_AXIS) && (axis != Y_AXIS)) {
136 throw new IllegalArgumentException("Invalid axis: " + axis);
140 if (axis
162 getMinimumSpan(int axis) argument
190 getMaximumSpan(int axis) argument
217 getAlignment(int axis) argument
[all...]
H A DAsyncBoxView.java57 * @param axis the axis to tile along. This can be
60 public AsyncBoxView(Element elem, int axis) { argument
63 this.axis = axis;
71 * Fetch the major axis (the axis the children
76 return axis;
80 * Fetch the minor axis (the axis orthogina
159 getInsetSpan(int axis) argument
543 getSpanOnAxis(int axis) argument
561 setSpanOnAxis(int axis, float span) argument
627 getPreferredSpan(int axis) argument
652 getMinimumSpan(int axis) argument
680 getMaximumSpan(int axis) argument
862 int axis; field in class:AsyncBoxView
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DGroupLayout.java66 * {@code GroupLayout} treats each axis independently. That is, there
67 * is a group representing the horizontal axis, and a group
68 * representing the vertical axis. The horizontal group is
70 * along the horizontal axis as well as setting the x and width of the
73 * vertical axis as well as setting the y and height of the
80 * axis. The sequential group contains three components. A parallel group
81 * was used along the vertical axis.
85 * To reinforce that each axis is treated independently the diagram shows
86 * the range of each group and element along each axis. The
92 * The sequential group along the horizontal axis i
726 linkSize(int axis, Component... components) argument
1063 calculateAutopadding(Group group, int axis, int sizeType, int origin, int size) argument
1096 registerComponents(Group group, int axis) argument
1160 areParallelSiblings(Component source, Component target, int axis) argument
1223 createSpringDescription(StringBuffer buffer, Spring spring, String indent, int axis) argument
1286 calculateMinimumSize(int axis) argument
1294 calculatePreferredSize(int axis) argument
1302 calculateMaximumSize(int axis) argument
1334 getMinimumSize(int axis) argument
1344 getPreferredSize(int axis) argument
1354 getMaximumSize(int axis) argument
1370 setSize(int axis, int origin, int size) argument
1403 isResizable(int axis) argument
1579 setSize(int axis, int origin, int size) argument
1595 setValidSize(int axis, int origin, int size) argument
1597 calculateMinimumSize(int axis) argument
1601 calculatePreferredSize(int axis) argument
1605 calculateMaximumSize(int axis) argument
1616 calculateSize(int axis, int type) argument
1633 getSpringSize(Spring spring, int axis, int type) argument
1674 insertAutopadding(int axis, List<AutoPreferredGapSpring> leadingPadding, List<AutoPreferredGapSpring> trailingPadding, List<ComponentSpring> leading, List<ComponentSpring> trailing, boolean insert) argument
1712 calculateAutopadding(int axis) argument
2016 setValidSize(int axis, int origin, int size) argument
2036 setValidSizeNotPreferred(int axis, int origin, int size) argument
2115 buildResizableList(int axis, boolean useMin) argument
2151 insertAutopadding(int axis, List<AutoPreferredGapSpring> leadingPadding, List<AutoPreferredGapSpring> trailingPadding, List<ComponentSpring> leading, List<ComponentSpring> trailing, boolean insert) argument
2565 calculateMinimumSize(int axis) argument
2572 calculateMaximumSize(int axis) argument
2579 setValidSize(int axis, int origin, int size) argument
2585 setChildSize(Spring spring, int axis, int origin, int size) argument
2609 insertAutopadding(int axis, List<AutoPreferredGapSpring> leadingPadding, List<AutoPreferredGapSpring> trailingPadding, List<ComponentSpring> leading, List<ComponentSpring> trailing, boolean insert) argument
2695 setValidSize(int axis, int origin, int size) argument
2705 calculateSize(int axis, int type) argument
2924 checkAxis(int axis) argument
2968 calculateMinimumSize(int axis) argument
2975 calculatePreferredSize(int axis) argument
2985 calculateMaximumSize(int axis) argument
2997 calculateNonlinkedMinimumSize(int axis) argument
3011 calculateNonlinkedPreferredSize(int axis) argument
3022 calculateNonlinkedMaximumSize(int axis) argument
3036 getSizeAlongAxis(int axis, Dimension size) argument
3040 getLinkSize(int axis, int type) argument
3048 setSize(int axis, int origin, int size) argument
3085 isLinked(int axis) argument
3089 installIfNecessary(int axis) argument
3126 calculateMinimumSize(int axis) argument
3130 calculatePreferredSize(int axis) argument
3139 calculateMaximumSize(int axis) argument
3146 getPadding(int axis) argument
3179 calculateMinimumSize(int axis) argument
3186 calculatePreferredSize(int axis) argument
3190 calculateMaximumSize(int axis) argument
3269 calculatePadding(int axis) argument
3326 addTarget(ComponentSpring spring, int axis) argument
3354 calculateMinimumSize(int axis) argument
3358 calculatePreferredSize(int axis) argument
3365 calculateMaximumSize(int axis) argument
3427 addTarget(ComponentSpring spring, int axis) argument
3434 calculatePadding(int axis) argument
3519 private final int axis; field in class:GroupLayout.LinkInfo
3523 LinkInfo(int axis) argument
3556 getSize(int axis) argument
3563 calculateLinkedSize(int axis) argument
3686 isLinked(int axis) argument
3694 setLinkInfo(int axis, LinkInfo linkInfo) argument
3703 getLinkInfo(int axis) argument
3707 getLinkInfo(int axis, boolean create) argument
3735 getLinkSize(int axis, int type) argument
[all...]
H A DBoxLayout.java54 * <p> The BoxLayout manager is constructed with an axis parameter that
166 * given axis.
169 * @param axis the axis to lay out components along. Can be one of:
175 * @exception AWTError if the value of <code>axis</code> is invalid
177 @ConstructorProperties({"target", "axis"})
178 public BoxLayout(Container target, int axis) { argument
179 if (axis != X_AXIS && axis != Y_AXIS &&
180 axis !
201 BoxLayout(Container target, int axis, PrintStream dbg) argument
516 resolveAxis( int axis, ComponentOrientation o ) argument
529 private int axis; field in class:BoxLayout
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/
H A DAxis.java36 * The ancestor axis contains the ancestors of the context node;
38 * node and the parent's parent and so on; thus, the ancestor axis will
44 * the ancestor-or-self axis contains the context node and the ancestors of
45 * the context node; thus, the ancestor axis will always include the
51 * the attribute axis contains the attributes of the context node; the axis
56 /** The child axis contains the children of the context node. */
60 * The descendant axis contains the descendants of the context node;
62 * descendant axis never contains attribute or namespace nodes.
67 * The descendant-or-self axis contain
210 isReverse(int axis) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DDefaultMenuLayout.java44 public DefaultMenuLayout(Container target, int axis) { argument
45 super(target, axis);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthMenuLayout.java40 public SynthMenuLayout(Container target, int axis) { argument
41 super(target, axis);
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/patterns/
H A DContextMatchStepPattern.java43 public ContextMatchStepPattern(int axis, int paxis) argument
45 super(DTMFilter.SHOW_ALL, axis, paxis);
101 int axis = m_axis;
103 boolean needToTraverseAttrs = WalkerFactory.isDownwardAxisOfMany(axis);
107 if((Axis.PRECEDING == axis) && iterRootIsAttr)
109 axis = Axis.PRECEDINGANDANCESTOR;
112 traverser = dtm.getAxisTraverser(axis);
/openjdk7/jdk/test/java/beans/XMLEncoder/6777487/
H A DTestBox.java45 private final Object axis = OBJECT;

Completed in 74 milliseconds

1234