示例#1
0
 /**
  * Print in black and white
  *
  * @param l if true, print in black and white, if false respect the colors associated to the
  *     layers.
  */
 public void setBW(boolean l) {
   bw_CB.setSelected(l);
 }
示例#2
0
 /**
  * Set the resize to fit option
  *
  * @param f true if the drawing should be stretched in order to fit the page.
  */
 public void setFit(boolean f) {
   fit_CB.setSelected(f);
 }
示例#3
0
 /**
  * Set the landscape mode
  *
  * @param l true if the output should be in landscape mode. It will be in portrait orientation
  *     otherwise.
  */
 public void setLandscape(boolean l) {
   landscape_CB.setSelected(l);
 }
示例#4
0
 /**
  * Set the mirror attribute
  *
  * @param m true if the printout should be done in mirroring mode.
  */
 public void setMirror(boolean m) {
   mirror_CB.setSelected(m);
 }