Searched defs:axis (Results 1 - 25 of 70) sorted by relevance

123

/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/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 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 DListView.java53 public float getAlignment(int axis) { argument
54 switch (axis) {
60 throw new IllegalArgumentException("Invalid axis: " + axis);
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 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 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 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 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...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DRelativeLocationPath.java32 public abstract void setAxis(int axis); argument
H A DParentLocationPath.java65 public void setAxis(int axis) { argument
66 _path.setAxis(axis);
H A DStep.java58 * This step's axis as defined in class Axis.
79 public Step(int axis, int nodeType, Vector predicates) { argument
80 _axis = axis;
101 * Define the axis (defined in Axis class) for this step
108 * Get the axis (defined in Axis class) for this step
110 public void setAxis(int axis) { argument
111 _axis = axis;
294 // DOM.getAxisIterator(int axis);
319 // DOM.getAxisIterator(int axis);
346 // DOM.getTypedAxisIterator(int axis, in
[all...]
/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);
H A DFunctionPattern.java48 public FunctionPattern(Expression expr, int axis, int predaxis) argument
51 super(0, null, null, axis, predaxis);
/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 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 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);
/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 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 DOneStepIterator.java43 /** The traversal axis from where the nodes will be filtered. */
46 /** The DTM inner traversal class, that corresponds to the super axis. */
73 * @param axis One of Axis.Child, etc., or -1 if the axis is unknown.
77 public OneStepIterator(DTMAxisIterator iterator, int axis) argument
83 m_axis = axis;
322 * Returns the axis being iterated, if it is known.
324 * @return Axis.CHILD, etc., or -1 if the axis is not known or is of multiple
/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));
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...]

Completed in 147 milliseconds

123