Searched refs:SidesType (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/
H A DJobAttributes.java205 public static final class SidesType extends AttributeValue { class in class:JobAttributes
215 * The <code>SidesType</code> instance to use for specifying that
219 public static final SidesType ONE_SIDED = new SidesType(I_ONE_SIDED);
221 * The <code>SidesType</code> instance to use for specifying that
227 public static final SidesType TWO_SIDED_LONG_EDGE =
228 new SidesType(I_TWO_SIDED_LONG_EDGE);
230 * The <code>SidesType</code> instance to use for specifying that
236 public static final SidesType TWO_SIDED_SHORT_EDGE =
237 new SidesType(I_TWO_SIDED_SHORT_EDG
239 private SidesType(int type) { method in class:JobAttributes.SidesType
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DPrintJob2D.java537 jobAttributes.setSides(SidesType.TWO_SIDED_LONG_EDGE);
539 jobAttributes.setSides(SidesType.TWO_SIDED_SHORT_EDGE);
541 jobAttributes.setSides(SidesType.ONE_SIDED);
691 SidesType sType = jobAttributes.getSides();
692 if (sType == SidesType.TWO_SIDED_LONG_EDGE) {
694 } else if (sType == SidesType.TWO_SIDED_SHORT_EDGE) {
696 } else if (sType == SidesType.ONE_SIDED) {

Completed in 25 milliseconds