JavaTM 2 Platform
Standard Ed. 6

类 java.awt.PageAttributes.OrientationRequestedType
的使用

使用 PageAttributes.OrientationRequestedType 的软件包
java.awt 包含用于创建用户界面和绘制图形图像的所有类。 
 

java.awt 中 PageAttributes.OrientationRequestedType 的使用
 

声明为 PageAttributes.OrientationRequestedType 的 java.awt 中的字段
static PageAttributes.OrientationRequestedType PageAttributes.OrientationRequestedType.LANDSCAPE
          用于指定横向方向的 OrientationRequestedType 实例。
static PageAttributes.OrientationRequestedType PageAttributes.OrientationRequestedType.PORTRAIT
          用于指定纵向方向的 OrientationRequestedType 实例。
 

返回 PageAttributes.OrientationRequestedType 的 java.awt 中的方法
 PageAttributes.OrientationRequestedType PageAttributes.getOrientationRequested()
          返回使用这些属性的页面的打印方向。
 

参数类型为 PageAttributes.OrientationRequestedType 的 java.awt 中的方法
 void PageAttributes.setOrientationRequested(PageAttributes.OrientationRequestedType orientationRequested)
          指定使用这些属性的页面的打印方向。
 

参数类型为 PageAttributes.OrientationRequestedType 的 java.awt 中的构造方法
PageAttributes(PageAttributes.ColorType color, PageAttributes.MediaType media, PageAttributes.OrientationRequestedType orientationRequested, PageAttributes.OriginType origin, PageAttributes.PrintQualityType printQuality, int[] printerResolution)
          构造一个具有每个属性的指定值的 PageAttributes 实例。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。