ServiceDialog.java revision 997
private int defaultServiceIndex;
private int status;
private boolean isAWT = false;
initResource();
int defaultServiceIndex,
int defaultServiceIndex,
void initPrintDialog(int x, int y,
int defaultServiceIndex,
isAWT = true;
updatePanels();
setResizable(false);
setLocation(x, y);
pack();
void initPageDialog(int x, int y,
setResizable(false);
setLocation(x, y);
pack();
public int getStatus() {
return status;
return asCurrent;
return asOriginal;
return psCurrent;
return null;
super.dispose();
boolean approved = false;
approved = true;
private boolean showFileChooser() {
} catch (URISyntaxException e) {
} catch (Exception e) {
} catch (Exception e) {
private void updatePanels() {
public static void initResource() {
return null;
return url;
return url;
return btn;
return btn;
return cb;
return rb;
public GeneralPanel() {
public boolean isPrintToFileRequested() {
public void updateInfo() {
private boolean changedService = false;
private boolean filePermission;
public PrintServicePanel() {
this, gridbag, c);
public boolean isPrintToFileSelected() {
return label;
changedService = true;
Destination.class)) {
dest =
changedService = false;
if (changedService) {
changedService = false;
updatePanels();
private boolean allowedToPrintToFile() {
} catch (SecurityException e) {
private void throwPrintToFile() {
public void updateInfo() {
boolean dstSupported = false;
boolean dstSelected = false;
allowedToPrintToFile() : false;
dstSupported = true;
dstSelected = true;
&& dstSupported);
private boolean prSupported;
public PrintRangePanel() {
} catch (CloneNotSupportedException e) {
if (isAWT) {
private void setupRangeWidgets() {
private void updateRangeAttribute() {
int min;
int max;
} catch (NumberFormatException e) {
} catch (NumberFormatException e) {
public void updateInfo() {
prSupported = false;
isAWT) {
prSupported = true;
if (isAWT) {
SunPageSelection.class);
private boolean scSupported;
public CopiesPanel() {
private void updateCollateCB() {
if (isAWT) {
public void updateInfo() {
boolean cpSupported = false;
scSupported = false;
cpSupported = true;
scSupported = true;
* The "Page Setup" tab. Includes the controls for MediaSource/MediaTray,
public PageSetupPanel() {
public void updateInfo() {
public MarginsPanel() {
float tmp;
tmpASet);
units);
return null;
public void updateInfo() {
if (isAWT) {
tmpASet);
units);
boolean invalid = false;
invalid = true;
invalid = true;
invalid = true;
invalid = true;
invalid = true;
invalid = true;
invalid = true;
if (invalid) {
public MediaPanel() {
return key;
} else if (m instanceof MediaSizeName) {
public void updateInfo() {
boolean mediaSupported = false;
mediaSupported = true;
if (isAWT) {
if (mediaSupported) {
implements ActionListener
public OrientationPanel() {
bg, this);
bg, this);
bg, this);
bg, this);
public void updateInfo() {
boolean pSupported = false;
boolean lSupported = false;
boolean rpSupported = false;
boolean rlSupported = false;
if (isAWT) {
pSupported = true;
lSupported = true;
pSupported = true;
lSupported = true;
rpSupported = true;
rlSupported = true;
public AppearancePanel() {
public void updateInfo() {
implements ActionListener
public ChromaticityPanel() {
public void updateInfo() {
boolean monoSupported = false;
boolean colorSupported = false;
if (isAWT) {
monoSupported = true;
colorSupported = true;
monoSupported = true;
colorSupported = true;
implements ActionListener
public QualityPanel() {
public void updateInfo() {
boolean draftSupported = false;
boolean normalSupported = false;
boolean highSupported = false;
if (isAWT) {
draftSupported = true;
normalSupported = true;
highSupported = true;
draftSupported = true;
normalSupported = true;
highSupported = true;
implements ActionListener
public SidesPanel() {
bg, this);
bg, this);
bg, this);
public void updateInfo() {
boolean osSupported = false;
boolean tSupported = false;
boolean dSupported = false;
osSupported = true;
tSupported = true;
dSupported = true;
public JobAttributesPanel() {
public void updateInfo() {
boolean jsSupported = false;
boolean jpSupported = false;
boolean jnSupported = false;
boolean unSupported = false;
jsSupported = true;
jpSupported = true;
jnSupported = true;
unSupported = true;
return icon;
public boolean isSelected() {
public void approveSelection() {
boolean exists;
} catch (SecurityException e) {
exists = false;
if (exists) {
int val;
super.approveSelection();