|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.awt.print.PageFormat
public class PageFormat
PageFormat
Ŭ·¡½º´Â ÀμâµÇ´Â ÆäÀÌÁöÀÇ »çÀÌÁî¿Í Àμ⠹æÇâÀ» ±â¼úÇÕ´Ï´Ù.
ÇÊµå °³¿ä | |
---|---|
static int |
LANDSCAPE
¿ëÁöÀÇ ÁÂÇϸ¦ ¿øÁ¡À¸·Î¼ ÇÏ´Ü¿¡¼ »ó´ÜÀ» x, Á´ÜÀ¸·ÎºÎÅÍ ¿ì´ÜÀ» y ·Î ³ªÅ¸³À´Ï´Ù. |
static int |
PORTRAIT
¿ëÁöÀÇ Á»óÀ» ¿øÁ¡À¸·Î¼ Á´ÜÀ¸·ÎºÎÅÍ ¿ì´ÜÀ» x, »ó´Ü¿¡¼ ÇÏ´ÜÀ» y ·Î ³ªÅ¸³À´Ï´Ù. |
static int |
REVERSE_LANDSCAPE
¿ëÁöÀÇ ¿ì»óÀ» ¿øÁ¡À¸·Î¼ »ó´Ü¿¡¼ ÇÏ´ÜÀ» x, ¿ì´ÜÀ¸·ÎºÎÅÍ Á´ÜÀ» y ·Î ³ªÅ¸³À´Ï´Ù. |
»ý¼ºÀÚ °³¿ä | |
---|---|
PageFormat ()
ŸÅ׳ª°¡ÀÇ µðÆúÆ® PageFormat ¸¦ ÀÛ¼ºÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
Object |
clone ()
ÀÌ PageFormat
º¹»çº»À» °°Àº ³»¿ëÀ¸·Î ÀÛ¼ºÇÕ´Ï´Ù. |
double |
getHeight ()
ÆäÀÌÁöÀÇ ¼¼·Î³ÐÀ̸¦ 1/72 ÀÎÄ¡ÀÇ ´ÜÀ§·Î ¸®ÅÏÇÕ´Ï´Ù. |
double |
getImageableHeight ()
ÆäÀÌÁöÀÇ À̸Þ¡ °¡´É ¿µ¿ªÀÇ ³ôÀ̸¦ 1/72 ÀÎÄ¡ÀÇ ´ÜÀ§·Î ¸®ÅÏÇÕ´Ï´Ù. |
double |
getImageableWidth ()
ÆäÀÌÁöÀÇ À̸Þ¡ °¡´É ¿µ¿ªÀÇ ³ÐÀ̸¦ 1/72 ÀÎÄ¡ÀÇ ´ÜÀ§·Î ¸®ÅÏÇÕ´Ï´Ù. |
double |
getImageableX ()
ÀÌ PageFormat ¿¡ °ü·ÃÇÑ Paper °´Ã¼ÀÇ, À̸Þ¡ °¡´É ¿µ¿ªÀÇ Á»ó´ÜÀÇ x ÁÂÇ¥¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
double |
getImageableY ()
ÀÌ PageFormat ¿¡ °ü·ÃÇÑ Paper °´Ã¼ÀÇ, À̸Þ¡ °¡´É ¿µ¿ªÀÇ Á»ó´ÜÀÇ y ÁÂÇ¥¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
double[] |
getMatrix ()
»ç¿ëÀÚ °ø°£ÀÇ ·»´õ¸µ¸¦, ¿ä±¸µÈ ÆäÀÌÁöÀÇ Àμ⠹æÇâÀ¸·Î ÆòÇàÀ̵¿ ÇÏ´Â º¯È¯ ¸ÅÆ®¸¯½º¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getOrientation ()
ÀÌ PageFormat
Àμ⠹æÇâÀ» ¸®ÅÏÇÕ´Ï´Ù. |
Paper |
getPaper ()
ÀÌ PageFormat ¿¡ °ü·ÃÇÑ Paper °´Ã¼ÀÇ º¹»çº»À» ¸®ÅÏÇÕ´Ï´Ù. |
double |
getWidth ()
ÆäÀÌÁöÀÇ °¡·Î³ÐÀ̸¦ 1/72 ÀÎÄ¡ÀÇ ´ÜÀ§·Î ¸®ÅÏÇÕ´Ï´Ù. |
void |
setOrientation (int orientation)
ÆäÀÌÁöÀÇ Àμ⠹æÇâÀ» ¼³Á¤ÇÕ´Ï´Ù. |
void |
setPaper (Paper paper)
ÀÌ PageFormat ¿¡ ´ëÀÀÇÏ´Â Paper °´Ã¼¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
public static final int LANDSCAPE
public static final int PORTRAIT
public static final int REVERSE_LANDSCAPE
»ý¼ºÀÚ »ó¼¼ |
---|
public PageFormat()
PageFormat
¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
¸Þ¼µåÀÇ »ó¼¼ |
---|
public Object clone()
PageFormat
º¹»çº»À» °°Àº ³»¿ëÀ¸·Î ÀÛ¼ºÇÕ´Ï´Ù.
Object
³»ÀÇ clone
PageFormat
Ä«ÇÇCloneable
public double getWidth()
public double getHeight()
public double getImageableX()
PageFormat
¿¡ °ü·ÃÇÑ Paper
°´Ã¼ÀÇ, À̸Þ¡ °¡´É ¿µ¿ªÀÇ Á»ó´ÜÀÇ x ÁÂÇ¥¸¦ ¸®ÅÏÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå¿¡¼´Â ÆäÀÌÁöÀÇ Àμ⠹æÇâÀÌ °í·ÁµË´Ï´Ù.
PageFormat
¿¡ °ü·ÃÇÑ Paper
°´Ã¼ÀÇ, À̸Þ¡ °¡´É ¿µ¿ªÀÇ Á»ó´ÜÀÇ x ÁÂÇ¥public double getImageableY()
PageFormat
¿¡ °ü·ÃÇÑ Paper
°´Ã¼ÀÇ, À̸Þ¡ °¡´É ¿µ¿ªÀÇ Á»ó´ÜÀÇ y ÁÂÇ¥¸¦ ¸®ÅÏÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå¿¡¼´Â ÆäÀÌÁöÀÇ Àμ⠹æÇâÀÌ °í·ÁµË´Ï´Ù.
PageFormat
¿¡ °ü·ÃÇÑ Paper
°´Ã¼ÀÇ, À̸Þ¡ °¡´É ¿µ¿ªÀÇ Á»ó´ÜÀÇ y ÁÂÇ¥public double getImageableWidth()
public double getImageableHeight()
public Paper getPaper()
PageFormat
¿¡ °ü·ÃÇÑ Paper
°´Ã¼ÀÇ º¹»çº»À» ¸®ÅÏÇÕ´Ï´Ù. ÀÌ ¸Þ¼µå·ÎºÎÅÍ ¸®ÅÏµÈ Paper
°´Ã¼¿¡ ÇàÇØÁø º¯°æÀº ÀÌ PageFormat
Paper
°´Ã¼¿¡´Â ¿µÇâÀ» ÁÖÁö ¾Ê½À´Ï´Ù. ÀÌ PageFormat
Paper
°´Ã¼¸¦ °»½ÅÇÏ·Á¸é,
»õ·Î¿î Paper
°´Ã¼¸¦ »ý¼ºÇØ, setPaper(Paper)
¸Þ¼µå¸¦ »ç¿ëÇØ ±× °´Ã¼¸¦ ÀÌ PageFormat
·Î
¼³Á¤ÇÕ´Ï´Ù.
PageFormat
¿¡ °ü·ÃÇÑ Paper
°´Ã¼ÀÇ Ä«ÇÇsetPaper(java.awt.print.Paper)
public void setPaper(Paper paper)
PageFormat
¿¡ ´ëÀÀÇÏ´Â Paper
°´Ã¼¸¦ ¼³Á¤ÇÕ´Ï´Ù.
paper
- ÀÌ PageFormat
¿¡ ´ëÀÀÇÏ´Â Paper
°´Ã¼¸¦ ¼³Á¤ÇÏ´Â Paper
°´Ã¼
NullPointerException
- null
¿ëÁö ÀνºÅϽº°¡ ÆÄ¶ó¹ÌÅͷμ °Ç³×¹Þ¾ÒÀ» °æ¿ìgetPaper()
public void setOrientation(int orientation) throws IllegalArgumentException
orientation
´Â ¹Ýµå½Ã, PORTRAIT, LANDSCAPE, ¶Ç´Â REVERSE_LANDSCAPE ·Î ÇÕ´Ï´Ù.
orientation
- »õ·Ó°Ô ÆäÀÌÁö·Î ¼³Á¤ÇÏ´Â Àμ⠹æÇâ
IllegalArgumentException
- ¹ÌÁöÀÇ Àμ⠹æÇâÀÌ ÁöÁ¤µÇ¾úÀ» °æ¿ìgetOrientation()
public int getOrientation()
PageFormat
Àμ⠹æÇâÀ» ¸®ÅÏÇÕ´Ï´Ù.
PageFormat
°´Ã¼ÀÇ Àμ⠹æÇâsetOrientation(int)
public double[] getMatrix()
AffineTransform
»ý¼ºÀÚ¿¡ ÇÊ¿äÇÑ Çü½Ä¿¡¼ { m00, m10, m01, m11, m02, m12}¿Í
°°ÀÌ ¹è¿¿¡ ¹èÄ¡µË´Ï´Ù.
AffineTransform
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.