Commit fca6d1ac authored by claes's avatar claes

Adapted to jdk 1.5

parent 9be53d95
/* /*
* Proview $Id: CrrFrame.java,v 1.2 2005-09-01 14:57:50 claes Exp $ * Proview $Id: CrrFrame.java,v 1.3 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -52,7 +52,7 @@ public class CrrFrame extends JFrame { ...@@ -52,7 +52,7 @@ public class CrrFrame extends JFrame {
crrList = createList(objectName); crrList = createList(objectName);
menuBar = createMenu(); menuBar = createMenu();
contentPane.add( menuBar, BorderLayout.NORTH); contentPane.add( menuBar, BorderLayout.NORTH);
JScrollPane scrollPane = new JScrollPane( crrList); scrollPane = new JScrollPane( crrList);
contentPane.add(scrollPane, BorderLayout.CENTER); contentPane.add(scrollPane, BorderLayout.CENTER);
contentPane.setOpaque(true); contentPane.setOpaque(true);
this.setTitle(objectName); this.setTitle(objectName);
...@@ -60,7 +60,7 @@ public class CrrFrame extends JFrame { ...@@ -60,7 +60,7 @@ public class CrrFrame extends JFrame {
} }
JMenuBar createMenu() { JMenuBar createMenu() {
JMenuBar menuBar = new JMenuBar(); menuBar = new JMenuBar();
JMenu fileMenu = new JMenu("File"); JMenu fileMenu = new JMenu("File");
fileMenu.setMnemonic('F'); fileMenu.setMnemonic('F');
MenuAction closeFileAction = new MenuAction("Close"); MenuAction closeFileAction = new MenuAction("Close");
......
/* /*
* Proview $Id: FlowAnnot.java,v 1.2 2005-09-01 14:57:50 claes Exp $ * Proview $Id: FlowAnnot.java,v 1.3 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -90,7 +90,7 @@ public class FlowAnnot implements FlowArrayElem { ...@@ -90,7 +90,7 @@ public class FlowAnnot implements FlowArrayElem {
public void draw( Graphics2D g, FlowPoint p0, String[] annotv, boolean highlight) { public void draw( Graphics2D g, FlowPoint p0, String[] annotv, boolean highlight) {
if ( annotv[number] == null) if ( annotv[number] == null)
return; return;
if ( (display_level & cmn.display_level) == 0) if ( (display_level & FlowCmn.display_level) == 0)
return; return;
int tsize; int tsize;
......
/* /*
* Proview $Id: FlowFrame.java,v 1.4 2005-11-02 14:02:18 claes Exp $ * Proview $Id: FlowFrame.java,v 1.5 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -139,7 +139,7 @@ public class FlowFrame extends JFrame implements JopUtilityIfc { ...@@ -139,7 +139,7 @@ public class FlowFrame extends JFrame implements JopUtilityIfc {
} }
else { else {
filename = "$pwrp_load/" + fname; filename = "$pwrp_load/" + fname;
filename = engine.gdh.translateFilename( filename); filename = Gdh.translateFilename( filename);
// filename = "/home/claes/flow/t.t"; // filename = "/home/claes/flow/t.t";
System.out.println( "Fname: " + filename); System.out.println( "Fname: " + filename);
...@@ -182,13 +182,13 @@ public class FlowFrame extends JFrame implements JopUtilityIfc { ...@@ -182,13 +182,13 @@ public class FlowFrame extends JFrame implements JopUtilityIfc {
} }
JMenuBar createMenu() { JMenuBar createMenu() {
JMenuBar menuBar = new JMenuBar(); JMenuBar lmenuBar = new JMenuBar();
JMenu fileMenu = new JMenu("File"); JMenu fileMenu = new JMenu("File");
fileMenu.setMnemonic('F'); fileMenu.setMnemonic('F');
MenuAction closeFileAction = new MenuAction("Close"); MenuAction closeFileAction = new MenuAction("Close");
MenuAction subWindowFileAction = new MenuAction("Open Subwindow"); MenuAction subWindowFileAction = new MenuAction("Open Subwindow");
menuBar = new JMenuBar(); lmenuBar = new JMenuBar();
JMenu functionsMenu = new JMenu("Functions"); JMenu functionsMenu = new JMenu("Functions");
fileMenu.setMnemonic('u'); fileMenu.setMnemonic('u');
MenuAction crossrefFunctionsAction = new MenuAction("Show Crossreferences"); MenuAction crossrefFunctionsAction = new MenuAction("Show Crossreferences");
...@@ -216,12 +216,12 @@ public class FlowFrame extends JFrame implements JopUtilityIfc { ...@@ -216,12 +216,12 @@ public class FlowFrame extends JFrame implements JopUtilityIfc {
item = viewMenu.add( zoomResetViewAction); item = viewMenu.add( zoomResetViewAction);
item.setMnemonic('R'); item.setMnemonic('R');
menuBar.add( fileMenu); lmenuBar.add( fileMenu);
menuBar.add( functionsMenu); lmenuBar.add( functionsMenu);
menuBar.add( viewMenu); lmenuBar.add( viewMenu);
menuBar.setBorder( new BevelBorder( BevelBorder.RAISED)); lmenuBar.setBorder( new BevelBorder( BevelBorder.RAISED));
return menuBar; return lmenuBar;
} }
class MenuAction extends AbstractAction { class MenuAction extends AbstractAction {
......
/* /*
* Proview $Id: FlowRect.java,v 1.2 2005-09-01 14:57:50 claes Exp $ * Proview $Id: FlowRect.java,v 1.3 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -82,7 +82,7 @@ public class FlowRect implements FlowArrayElem { ...@@ -82,7 +82,7 @@ public class FlowRect implements FlowArrayElem {
} }
public void draw( Graphics2D g, FlowPoint p, String[] annotv, boolean highlight) { public void draw( Graphics2D g, FlowPoint p, String[] annotv, boolean highlight) {
if ( (display_level & cmn.display_level) == 0) if ( (display_level & FlowCmn.display_level) == 0)
return; return;
Rectangle2D.Double rect = new Rectangle2D.Double( (ll.x + p.x) * cmn.zoom_factor, Rectangle2D.Double rect = new Rectangle2D.Double( (ll.x + p.x) * cmn.zoom_factor,
......
/* /*
* Proview $Id: GeDynIncrAnalog.java,v 1.3 2005-09-01 14:57:50 claes Exp $ * Proview $Id: GeDynIncrAnalog.java,v 1.4 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -50,7 +50,7 @@ public class GeDynIncrAnalog extends GeDynElem { ...@@ -50,7 +50,7 @@ public class GeDynIncrAnalog extends GeDynElem {
break; break;
String attrName = dyn.getAttrName( attribute); String attrName = dyn.getAttrName( attribute);
int typeId = dyn.getTypeId( attribute); int typeId = GeDyn.getTypeId( attribute);
if ( typeId < 0) if ( typeId < 0)
typeId = Pwr.eType_Float32; typeId = Pwr.eType_Float32;
switch ( typeId) { switch ( typeId) {
......
/* /*
* Proview $Id: GeDynSlider.java,v 1.5 2005-11-02 13:59:08 claes Exp $ * Proview $Id: GeDynSlider.java,v 1.6 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -188,51 +188,51 @@ public class GeDynSlider extends GeDynElem { ...@@ -188,51 +188,51 @@ public class GeDynSlider extends GeDynElem {
Point loc = ((JComponent)dyn.comp).getLocation(); Point loc = ((JComponent)dyn.comp).getLocation();
int pos; int pos;
double minPos; double minPosit;
double maxPos; double maxPosit;
switch ( direction) { switch ( direction) {
case Ge.DIRECTION_RIGHT: case Ge.DIRECTION_RIGHT:
minPos = this.minPos * width / original_width; minPosit = this.minPos * width / original_width;
maxPos = this.maxPos * width / original_width; maxPosit = this.maxPos * width / original_width;
pos = (int)((maxValue - value)/(maxValue - minValue) * pos = (int)((maxValue - value)/(maxValue - minValue) *
(maxPos - minPos) + minPos); (maxPosit - minPosit) + minPosit);
if ( pos < minPos) if ( pos < minPosit)
pos = (int)minPos; pos = (int)minPosit;
if ( pos > maxPos) if ( pos > maxPosit)
pos = (int)maxPos; pos = (int)maxPosit;
loc.x = pos; loc.x = pos;
break; break;
case Ge.DIRECTION_LEFT: case Ge.DIRECTION_LEFT:
minPos = this.minPos * width / original_width; minPosit = this.minPos * width / original_width;
maxPos = this.maxPos * width / original_width; maxPosit = this.maxPos * width / original_width;
pos = (int)(value /(maxValue - minValue) * pos = (int)(value /(maxValue - minValue) *
(maxPos - minPos) + minPos); (maxPosit - minPosit) + minPosit);
if ( pos < minPos) if ( pos < minPosit)
pos = (int)minPos; pos = (int)minPosit;
if ( pos > maxPos) if ( pos > maxPosit)
pos = (int)maxPos; pos = (int)maxPosit;
loc.x = pos; loc.x = pos;
break; break;
case Ge.DIRECTION_UP: case Ge.DIRECTION_UP:
minPos = this.minPos * height / original_height; minPosit = this.minPos * height / original_height;
maxPos = this.maxPos * height / original_height; maxPosit = this.maxPos * height / original_height;
pos = (int)((value - minValue)/(maxValue - minValue) * pos = (int)((value - minValue)/(maxValue - minValue) *
(maxPos - minPos) + minPos); (maxPosit - minPosit) + minPosit);
if ( pos < minPos) if ( pos < minPosit)
pos = (int)minPos; pos = (int)minPosit;
if ( pos > maxPos) if ( pos > maxPosit)
pos = (int)maxPos; pos = (int)maxPosit;
loc.y = pos; loc.y = pos;
break; break;
default: default:
minPos = this.minPos * height / original_height; minPosit = this.minPos * height / original_height;
maxPos = this.maxPos * height / original_height; maxPosit = this.maxPos * height / original_height;
pos = (int)((maxValue - value)/(maxValue - minValue) * pos = (int)((maxValue - value)/(maxValue - minValue) *
(maxPos - minPos) + minPos); (maxPosit - minPosit) + minPosit);
if ( pos < minPos) if ( pos < minPosit)
pos = (int)minPos; pos = (int)minPosit;
if ( pos > maxPos) if ( pos > maxPosit)
pos = (int)maxPos; pos = (int)maxPosit;
loc.y = pos; loc.y = pos;
} }
((JComponent)dyn.comp).setLocation( loc); ((JComponent)dyn.comp).setLocation( loc);
...@@ -262,8 +262,8 @@ public class GeDynSlider extends GeDynElem { ...@@ -262,8 +262,8 @@ public class GeDynSlider extends GeDynElem {
return; return;
} }
float value; float value;
double minPos; double minPosit;
double maxPos; double maxPosit;
PwrtStatus sts; PwrtStatus sts;
Point new_loc = new Point(); Point new_loc = new Point();
float width = ((JComponent)dyn.comp).getParent().getWidth(); float width = ((JComponent)dyn.comp).getParent().getWidth();
...@@ -276,53 +276,53 @@ public class GeDynSlider extends GeDynElem { ...@@ -276,53 +276,53 @@ public class GeDynSlider extends GeDynElem {
return; return;
switch ( direction) { switch ( direction) {
case Ge.DIRECTION_RIGHT: case Ge.DIRECTION_RIGHT:
minPos = this.minPos * width / original_width; minPosit = this.minPos * width / original_width;
maxPos = this.maxPos * width / original_width; maxPosit = this.maxPos * width / original_width;
new_loc.x = loc.x + ePoint.x - offset.x; new_loc.x = loc.x + ePoint.x - offset.x;
new_loc.y = loc.y; new_loc.y = loc.y;
if ( new_loc.x > maxPos) if ( new_loc.x > maxPosit)
new_loc.x = (int) maxPos; new_loc.x = (int) maxPosit;
if ( new_loc.x < minPos) if ( new_loc.x < minPosit)
new_loc.x = (int) minPos; new_loc.x = (int) minPosit;
value = (float)((maxPos - new_loc.x) / (maxPos - minPos) * value = (float)((maxPosit - new_loc.x) / (maxPosit - minPosit) *
(maxValue - minValue) + minValue); (maxValue - minValue) + minValue);
break; break;
case Ge.DIRECTION_LEFT: case Ge.DIRECTION_LEFT:
minPos = this.minPos * width / original_width; minPosit = this.minPos * width / original_width;
maxPos = this.maxPos * width / original_width; maxPosit = this.maxPos * width / original_width;
new_loc.x = loc.x + ePoint.x - offset.x; new_loc.x = loc.x + ePoint.x - offset.x;
new_loc.y = loc.y; new_loc.y = loc.y;
if ( new_loc.x > maxPos) if ( new_loc.x > maxPosit)
new_loc.x = (int) maxPos; new_loc.x = (int) maxPosit;
if ( new_loc.x < minPos) if ( new_loc.x < minPosit)
new_loc.x = (int) minPos; new_loc.x = (int) minPosit;
value = (float)((new_loc.x - minPos) / (maxPos - minPos) * value = (float)((new_loc.x - minPosit) / (maxPosit - minPosit) *
(maxValue - minValue) + minValue); (maxValue - minValue) + minValue);
break; break;
case Ge.DIRECTION_UP: case Ge.DIRECTION_UP:
minPos = this.minPos * height / original_height; minPosit = this.minPos * height / original_height;
maxPos = this.maxPos * height / original_height; maxPosit = this.maxPos * height / original_height;
new_loc.y = loc.y + ePoint.y - offset.y; new_loc.y = loc.y + ePoint.y - offset.y;
new_loc.x = loc.x; new_loc.x = loc.x;
if ( new_loc.y > maxPos) if ( new_loc.y > maxPosit)
new_loc.y = (int) maxPos; new_loc.y = (int) maxPosit;
if ( new_loc.y < minPos) if ( new_loc.y < minPosit)
new_loc.y = (int) minPos; new_loc.y = (int) minPosit;
value = (float)((new_loc.y - minPos) / (maxPos - minPos) * value = (float)((new_loc.y - minPosit) / (maxPosit - minPosit) *
(maxValue - minValue) + minValue); (maxValue - minValue) + minValue);
// System.out.println("old_y: " + ePoint.y + " new_y: " + new_loc.y + "v: " + value); // System.out.println("old_y: " + ePoint.y + " new_y: " + new_loc.y + "v: " + value);
break; break;
default: default:
minPos = this.minPos * height / original_height; minPosit = this.minPos * height / original_height;
maxPos = this.maxPos * height / original_height; maxPosit = this.maxPos * height / original_height;
new_loc.y = loc.y + ePoint.y - offset.y; new_loc.y = loc.y + ePoint.y - offset.y;
// System.out.println( "loc.y " + loc.y + " eP.y " + ePoint.y + " offset.y " + offset.y + " new_loc.y " + new_loc.y + " maxPos " + maxPos + " minPos " + minPos); // System.out.println( "loc.y " + loc.y + " eP.y " + ePoint.y + " offset.y " + offset.y + " new_loc.y " + new_loc.y + " maxPos " + maxPosit + " minPos " + minPosit);
new_loc.x = loc.x; new_loc.x = loc.x;
if ( new_loc.y > maxPos) if ( new_loc.y > maxPosit)
new_loc.y = (int) maxPos; new_loc.y = (int) maxPosit;
if ( new_loc.y < minPos) if ( new_loc.y < minPosit)
new_loc.y = (int) minPos; new_loc.y = (int) minPosit;
value = (float)((maxPos - new_loc.y) / (maxPos - minPos) * value = (float)((maxPosit - new_loc.y) / (maxPosit - minPosit) *
(maxValue - minValue) + minValue); (maxValue - minValue) + minValue);
// System.out.println("old_y: " + ePoint.y + " new_y: " + new_loc.y + "v: " + value); // System.out.println("old_y: " + ePoint.y + " new_y: " + new_loc.y + "v: " + value);
} }
......
/* /*
* Proview $Id: GeDynValueInput.java,v 1.5 2005-11-02 14:00:47 claes Exp $ * Proview $Id: GeDynValueInput.java,v 1.6 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -82,8 +82,8 @@ public class GeDynValueInput extends GeDynElem { ...@@ -82,8 +82,8 @@ public class GeDynValueInput extends GeDynElem {
double maxval = 0; double maxval = 0;
if ( minValueAttr != null) { if ( minValueAttr != null) {
String attrName = dyn.getAttrName( minValueAttr); String attrName = dyn.getAttrName( minValueAttr);
int typeId = dyn.getTypeId( minValueAttr); int tId = GeDyn.getTypeId( minValueAttr);
if ( typeId < 0 || typeId == Pwr.eType_Float32) { if ( tId < 0 || tId == Pwr.eType_Float32) {
CdhrFloat ret = dyn.en.gdh.getObjectInfoFloat( attrName); CdhrFloat ret = dyn.en.gdh.getObjectInfoFloat( attrName);
if ( ret.evenSts()) { if ( ret.evenSts()) {
System.out.println( "ValueInput " + attrName); System.out.println( "ValueInput " + attrName);
...@@ -97,8 +97,8 @@ public class GeDynValueInput extends GeDynElem { ...@@ -97,8 +97,8 @@ public class GeDynValueInput extends GeDynElem {
if ( maxValueAttr != null) { if ( maxValueAttr != null) {
String attrName = dyn.getAttrName( maxValueAttr); String attrName = dyn.getAttrName( maxValueAttr);
int typeId = dyn.getTypeId( maxValueAttr); int tId = GeDyn.getTypeId( maxValueAttr);
if ( typeId < 0 || typeId == Pwr.eType_Float32) { if ( tId < 0 || tId == Pwr.eType_Float32) {
CdhrFloat ret = dyn.en.gdh.getObjectInfoFloat( attrName); CdhrFloat ret = dyn.en.gdh.getObjectInfoFloat( attrName);
if ( ret.evenSts()) { if ( ret.evenSts()) {
System.out.println( "ValueInput " + attrName); System.out.println( "ValueInput " + attrName);
......
/* /*
* Proview $Id: GeFrameThin.java,v 1.5 2005-09-01 14:57:50 claes Exp $ * Proview $Id: GeFrameThin.java,v 1.6 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -25,11 +25,11 @@ import java.awt.image.*; ...@@ -25,11 +25,11 @@ import java.awt.image.*;
import java.awt.font.*; import java.awt.font.*;
import javax.swing.*; import javax.swing.*;
public class GeFrameThin extends GeComponent { public class GeFrameThin extends GeComponent {
Dimension size; Dimension dsize;
public GeFrameThin( JopSession session) public GeFrameThin( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 144, 84); dsize = new Dimension( 144, 84);
} }
Shape[] shapes = new Shape[] { null, null, null, null}; Shape[] shapes = new Shape[] { null, null, null, null};
public void paint(Graphics g1) { public void paint(Graphics g1) {
...@@ -127,8 +127,8 @@ public class GeFrameThin extends GeComponent { ...@@ -127,8 +127,8 @@ public class GeFrameThin extends GeComponent {
g.draw( shapes[3]); g.draw( shapes[3]);
g.setTransform(save); g.setTransform(save);
} }
public Dimension getPreferredSize() { return size;} public Dimension getPreferredSize() { return dsize;}
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return dsize;}
} }
......
/* /*
* Proview $Id: GeTextField.java,v 1.7 2005-09-01 14:57:50 claes Exp $ * Proview $Id: GeTextField.java,v 1.8 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -75,7 +75,7 @@ public class GeTextField extends JTextField implements GeComponentIfc, ...@@ -75,7 +75,7 @@ public class GeTextField extends JTextField implements GeComponentIfc,
if ( en.gdh.isAuthorized( dd.access)) { if ( en.gdh.isAuthorized( dd.access)) {
this.addKeyListener(new java.awt.event.KeyAdapter() { this.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(KeyEvent e) { public void keyPressed(KeyEvent e) {
if ( e.getKeyCode() == e.VK_ESCAPE ) { if ( e.getKeyCode() == KeyEvent.VK_ESCAPE ) {
keyPressedEvent(e); keyPressedEvent(e);
} }
} }
...@@ -300,7 +300,7 @@ public class GeTextField extends JTextField implements GeComponentIfc, ...@@ -300,7 +300,7 @@ public class GeTextField extends JTextField implements GeComponentIfc,
} }
void keyPressedEvent(KeyEvent e) { void keyPressedEvent(KeyEvent e) {
if ( e.getKeyCode() == e.VK_ESCAPE ) if ( e.getKeyCode() == KeyEvent.VK_ESCAPE )
{ {
this.getParent().requestFocus(); this.getParent().requestFocus();
} }
......
/* /*
* Proview $Id: HistStatModel2.java,v 1.2 2005-09-01 14:57:50 claes Exp $ * Proview $Id: HistStatModel2.java,v 1.3 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB. * Copyright (C) 2005 SSAB Oxelösund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -99,6 +99,7 @@ public class HistStatModel2 extends AbstractTableModel{ ...@@ -99,6 +99,7 @@ public class HistStatModel2 extends AbstractTableModel{
break; break;
case 2: case 2:
day+=28; day+=28;
break;
default: default:
break; break;
} }
......
/* /*
* Proview $Id: HistTable.java,v 1.2 2005-09-01 14:57:50 claes Exp $ * Proview $Id: HistTable.java,v 1.3 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -87,8 +87,9 @@ public class HistTable extends JScrollPane{ ...@@ -87,8 +87,9 @@ public class HistTable extends JScrollPane{
lang=l; lang=l;
for (int i=0; i<alarmTable.getColumnCount();i++) for (int i=0; i<alarmTable.getColumnCount();i++)
alarmTable.getColumnModel().getColumn(i).setHeaderValue(columnNamesEventTable[lang][i]); alarmTable.getColumnModel().getColumn(i).setHeaderValue(columnNamesEventTable[lang][i]);
alarmTable.getTableHeader().resizeAndRepaint(); //alarmTable.getTableHeader().resizeAndRepaint();
alarmTable.validate();
alarmTable.repaint();
} }
/*Get a pointer to the local Clipboard, format a string with all cell /*Get a pointer to the local Clipboard, format a string with all cell
......
/* /*
* Proview $Id: JopAxis.java,v 1.4 2005-11-04 11:42:05 claes Exp $ * Proview $Id: JopAxis.java,v 1.5 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -153,7 +153,7 @@ public class JopAxis extends JComponent { ...@@ -153,7 +153,7 @@ public class JopAxis extends JComponent {
g.setFont( font.deriveFont( width / widthOrig * font.getSize())); g.setFont( font.deriveFont( width / widthOrig * font.getSize()));
if ( shapes == null || width != oldWidth) { if ( shapes == null || width != oldWidth) {
float lineLength = this.lineLength * width / widthOrig; float lineLen = this.lineLength * width / widthOrig;
shapes = new Shape[1]; shapes = new Shape[1];
FontRenderContext frc = g.getFontRenderContext(); FontRenderContext frc = g.getFontRenderContext();
...@@ -171,10 +171,10 @@ public class JopAxis extends JComponent { ...@@ -171,10 +171,10 @@ public class JopAxis extends JComponent {
delta = height / ( lines - 1); delta = height / ( lines - 1);
for ( i = 0; i < lines; i++) { for ( i = 0; i < lines; i++) {
if ( i % longQuotient == 0) if ( i % longQuotient == 0)
hLines[i] = new Line2D.Float( width - lineLength, delta * i, hLines[i] = new Line2D.Float( width - lineLen, delta * i,
width, delta * i); width, delta * i);
else else
hLines[i] = new Line2D.Float( width - 2F/3F*lineLength, hLines[i] = new Line2D.Float( width - 2F/3F*lineLen,
delta * i, width, delta * i); delta * i, width, delta * i);
if ( drawText && i % valueQuotient == 0) { if ( drawText && i % valueQuotient == 0) {
if ( maxValue > minValue) if ( maxValue > minValue)
...@@ -201,11 +201,11 @@ public class JopAxis extends JComponent { ...@@ -201,11 +201,11 @@ public class JopAxis extends JComponent {
delta = width / ( lines - 1); delta = width / ( lines - 1);
for ( i = 0; i < lines; i++) { for ( i = 0; i < lines; i++) {
if ( i % longQuotient == 0) if ( i % longQuotient == 0)
hLines[i] = new Line2D.Float( delta * i, height - lineLength, hLines[i] = new Line2D.Float( delta * i, height - lineLen,
delta * i, height); delta * i, height);
else else
hLines[i] = new Line2D.Float( delta * i, hLines[i] = new Line2D.Float( delta * i,
height - 2F/3F*lineLength, delta * i, height); height - 2F/3F*lineLen, delta * i, height);
if ( drawText && i % valueQuotient == 0) { if ( drawText && i % valueQuotient == 0) {
if ( maxValue > minValue) if ( maxValue > minValue)
value = (maxValue - minValue) / ( lines - 1) * i; value = (maxValue - minValue) / ( lines - 1) * i;
...@@ -233,10 +233,10 @@ public class JopAxis extends JComponent { ...@@ -233,10 +233,10 @@ public class JopAxis extends JComponent {
for ( i = 0; i < lines; i++) { for ( i = 0; i < lines; i++) {
if ( i % longQuotient == 0) if ( i % longQuotient == 0)
hLines[i] = new Line2D.Float( 0F, delta * i, hLines[i] = new Line2D.Float( 0F, delta * i,
lineLength, delta * i); lineLen, delta * i);
else else
hLines[i] = new Line2D.Float( 0F, hLines[i] = new Line2D.Float( 0F,
delta * i, 2F/3F*lineLength, delta * i); delta * i, 2F/3F*lineLen, delta * i);
if ( drawText && i % valueQuotient == 0) { if ( drawText && i % valueQuotient == 0) {
if ( maxValue > minValue) if ( maxValue > minValue)
value = (maxValue - minValue) / ( lines - 1) * i; value = (maxValue - minValue) / ( lines - 1) * i;
...@@ -253,7 +253,7 @@ public class JopAxis extends JComponent { ...@@ -253,7 +253,7 @@ public class JopAxis extends JComponent {
hTextPosY[i/valueQuotient] = 0F + textHeight/2; hTextPosY[i/valueQuotient] = 0F + textHeight/2;
else else
hTextPosY[i/valueQuotient] = delta * i + textHeight/4; hTextPosY[i/valueQuotient] = delta * i + textHeight/4;
hTextPosX[i/valueQuotient] = lineLength; hTextPosX[i/valueQuotient] = lineLen;
} }
} }
} }
...@@ -263,10 +263,10 @@ public class JopAxis extends JComponent { ...@@ -263,10 +263,10 @@ public class JopAxis extends JComponent {
for ( i = 0; i < lines; i++) { for ( i = 0; i < lines; i++) {
if ( i % longQuotient == 0) if ( i % longQuotient == 0)
hLines[i] = new Line2D.Float( delta * i, 0F, hLines[i] = new Line2D.Float( delta * i, 0F,
delta * i, lineLength); delta * i, lineLen);
else else
hLines[i] = new Line2D.Float( delta * i, hLines[i] = new Line2D.Float( delta * i,
0F , delta * i, 2F/3F*lineLength); 0F , delta * i, 2F/3F*lineLen);
if ( drawText && i % valueQuotient == 0) { if ( drawText && i % valueQuotient == 0) {
if ( maxValue > minValue) if ( maxValue > minValue)
value = maxValue - (maxValue - minValue) / ( lines - 1) * i; value = maxValue - (maxValue - minValue) / ( lines - 1) * i;
......
/* /*
* Proview $Id: JopConfirmDialog.java,v 1.3 2005-09-01 14:57:50 claes Exp $ * Proview $Id: JopConfirmDialog.java,v 1.4 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -33,7 +33,7 @@ public class JopConfirmDialog { ...@@ -33,7 +33,7 @@ public class JopConfirmDialog {
dia = new JDialog(); dia = new JDialog();
dia.setTitle("Confirm"); dia.setTitle("Confirm");
dia.setResizable(false); dia.setResizable(false);
dia.setDefaultCloseOperation( dia.DO_NOTHING_ON_CLOSE); dia.setDefaultCloseOperation( JDialog.DO_NOTHING_ON_CLOSE);
dia.setSize( 400, 150); dia.setSize( 400, 150);
label = new JLabel( text, JLabel.CENTER); label = new JLabel( text, JLabel.CENTER);
dia.getContentPane().setLayout( new BorderLayout()); dia.getContentPane().setLayout( new BorderLayout());
......
/* /*
* Proview $Id: JopSpider.java,v 1.9 2005-11-04 11:48:35 claes Exp $ * Proview $Id: JopSpider.java,v 1.10 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -40,7 +40,7 @@ public class JopSpider { ...@@ -40,7 +40,7 @@ public class JopSpider {
static String systemName; static String systemName;
public JopSpider( int op_qcom_qix) { public JopSpider( int op_qcom_qix) {
this.op_qcom_qix = op_qcom_qix; JopSpider.op_qcom_qix = op_qcom_qix;
engine = new JopEngine( 1000, (Object)null); engine = new JopEngine( 1000, (Object)null);
session = new JopSession( engine, (Object)this); session = new JopSession( engine, (Object)this);
...@@ -654,7 +654,7 @@ System.out.println( "JopSpiderCmd start"); ...@@ -654,7 +654,7 @@ System.out.println( "JopSpiderCmd start");
//Main method //Main method
public static void main(String[] args) { public static void main(String[] args) {
int op_qcom_qix = 0; int qcom_qix = 0;
try { try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
...@@ -665,15 +665,15 @@ System.out.println( "JopSpiderCmd start"); ...@@ -665,15 +665,15 @@ System.out.println( "JopSpiderCmd start");
if ( args.length > 0) { if ( args.length > 0) {
System.out.println("Queue : " + args[0]); System.out.println("Queue : " + args[0]);
try { try {
op_qcom_qix = Integer.parseInt(args[0]); qcom_qix = Integer.parseInt(args[0]);
} }
catch ( NumberFormatException e) { catch ( NumberFormatException e) {
System.out.println("Syntax error in que number"); System.out.println("Syntax error in que number");
op_qcom_qix = 0; qcom_qix = 0;
} }
} }
// new Gdh( (Object) null); // new Gdh( (Object) null);
new JopSpider(op_qcom_qix); new JopSpider(qcom_qix);
} }
public static Image getImage( JopSession session, String image) { public static Image getImage( JopSession session, String image) {
......
/* /*
* Proview $Id: RatioLayout.java,v 1.2 2005-09-01 14:57:51 claes Exp $ * Proview $Id: RatioLayout.java,v 1.3 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelösund AB. * Copyright (C) 2005 SSAB Oxelösund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -72,8 +72,8 @@ public class RatioLayout implements LayoutManager2 { ...@@ -72,8 +72,8 @@ public class RatioLayout implements LayoutManager2 {
} }
//Reset the Layout //Reset the Layout
public void invalidateLayout(Container target){ public void invalidateLayout(Container target){
Vector ratios = new Vector(1); ratios = new Vector(1);
Vector components = new Vector(1); components = new Vector(1);
} }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -42,7 +42,7 @@ public class JopcBackup_conf extends JopFrame implements JopUtilityIfc { ...@@ -42,7 +42,7 @@ public class JopcBackup_conf extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 612, 305); size = new Dimension( 612, 305);
...@@ -415,20 +415,19 @@ class LocalPanel extends JPanel { ...@@ -415,20 +415,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 637, 20); size = new Dimension( 637, 20);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 637; public int original_width = 637;
public int original_height = 20; public int original_height = 20;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -466,7 +465,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -466,7 +465,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -560,7 +559,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -560,7 +559,7 @@ protected class pwr_valuelong extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_indsquare extends GeComponent { protected class pwr_indsquare extends GeComponent {
Dimension size; // Dimension size;
public pwr_indsquare( JopSession session) public pwr_indsquare( JopSession session)
{ {
super( session); super( session);
...@@ -603,7 +602,7 @@ protected class pwr_indsquare extends GeComponent { ...@@ -603,7 +602,7 @@ protected class pwr_indsquare extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -687,20 +686,19 @@ protected class pwr_indsquare extends GeComponent { ...@@ -687,20 +686,19 @@ protected class pwr_indsquare extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuesmall extends GeComponent { protected class pwr_valuesmall extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuesmall( JopSession session) public pwr_valuesmall( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 58, 20); size = new Dimension( 58, 20);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 58; public int original_width = 58;
public int original_height = 20; public int original_height = 20;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -738,7 +736,7 @@ protected class pwr_valuesmall extends GeComponent { ...@@ -738,7 +736,7 @@ protected class pwr_valuesmall extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
...@@ -43,7 +43,7 @@ public class JopcChanai extends JopFrame implements JopUtilityIfc { ...@@ -43,7 +43,7 @@ public class JopcChanai extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 711, 386); size = new Dimension( 711, 386);
...@@ -414,20 +414,19 @@ class LocalPanel extends JPanel { ...@@ -414,20 +414,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_buttoncommand extends GeComponent { protected class pwr_buttoncommand extends GeComponent {
Dimension size; // Dimension size;
public pwr_buttoncommand( JopSession session) public pwr_buttoncommand( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 96, 34); size = new Dimension( 96, 34);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 96; public int original_width = 96;
public int original_height = 34; public int original_height = 34;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -482,7 +481,7 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -482,7 +481,7 @@ protected class pwr_buttoncommand extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -628,20 +627,19 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -628,20 +627,19 @@ protected class pwr_buttoncommand extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuemedium extends GeComponent { protected class pwr_valuemedium extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuemedium( JopSession session) public pwr_valuemedium( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 60, 22); size = new Dimension( 60, 22);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 60; public int original_width = 60;
public int original_height = 22; public int original_height = 22;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -679,7 +677,7 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -679,7 +677,7 @@ protected class pwr_valuemedium extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -779,20 +777,19 @@ protected class pwr_framethin extends GeFrameThin { ...@@ -779,20 +777,19 @@ protected class pwr_framethin extends GeFrameThin {
} }
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 503, 17); size = new Dimension( 503, 17);
annot1Font = new Font("Helvetica", Font.BOLD, 8);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 8);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 503; public int original_width = 503;
public int original_height = 17; public int original_height = 17;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -830,7 +827,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -830,7 +827,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -924,20 +921,19 @@ protected class pwr_valuelong extends GeComponent { ...@@ -924,20 +921,19 @@ protected class pwr_valuelong extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class JopButtontoggle extends GeComponent { protected class JopButtontoggle extends GeComponent {
Dimension size; // Dimension size;
public JopButtontoggle( JopSession session) public JopButtontoggle( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 45, 20); size = new Dimension( 45, 20);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 45; public int original_width = 45;
public int original_height = 20; public int original_height = 20;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -980,7 +976,7 @@ protected class JopButtontoggle extends GeComponent { ...@@ -980,7 +976,7 @@ protected class JopButtontoggle extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
...@@ -45,7 +45,7 @@ public class JopcChanao extends JopFrame implements JopUtilityIfc { ...@@ -45,7 +45,7 @@ public class JopcChanao extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 711, 386); size = new Dimension( 711, 386);
...@@ -437,20 +437,19 @@ class LocalPanel extends JPanel { ...@@ -437,20 +437,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuemedium extends GeComponent { protected class pwr_valuemedium extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuemedium( JopSession session) public pwr_valuemedium( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 60, 22); size = new Dimension( 60, 22);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 60; public int original_width = 60;
public int original_height = 22; public int original_height = 22;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -488,7 +487,7 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -488,7 +487,7 @@ protected class pwr_valuemedium extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -588,20 +587,19 @@ protected class pwr_framethin extends GeFrameThin { ...@@ -588,20 +587,19 @@ protected class pwr_framethin extends GeFrameThin {
} }
} }
protected class pwr_buttoncommand extends GeComponent { protected class pwr_buttoncommand extends GeComponent {
Dimension size; // Dimension size;
public pwr_buttoncommand( JopSession session) public pwr_buttoncommand( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 96, 34); size = new Dimension( 96, 34);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 96; public int original_width = 96;
public int original_height = 34; public int original_height = 34;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -656,7 +654,7 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -656,7 +654,7 @@ protected class pwr_buttoncommand extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -802,20 +800,19 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -802,20 +800,19 @@ protected class pwr_buttoncommand extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 503, 17); size = new Dimension( 503, 17);
annot1Font = new Font("Helvetica", Font.BOLD, 8);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 8);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 503; public int original_width = 503;
public int original_height = 17; public int original_height = 17;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -853,7 +850,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -853,7 +850,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -947,20 +944,19 @@ protected class pwr_valuelong extends GeComponent { ...@@ -947,20 +944,19 @@ protected class pwr_valuelong extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class JopButtontoggle extends GeComponent { protected class JopButtontoggle extends GeComponent {
Dimension size; // Dimension size;
public JopButtontoggle( JopSession session) public JopButtontoggle( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 45, 20); size = new Dimension( 45, 20);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 45; public int original_width = 45;
public int original_height = 20; public int original_height = 20;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -1003,7 +999,7 @@ protected class JopButtontoggle extends GeComponent { ...@@ -1003,7 +999,7 @@ protected class JopButtontoggle extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
...@@ -30,7 +30,7 @@ public class JopcChandi extends JopFrame implements JopUtilityIfc { ...@@ -30,7 +30,7 @@ public class JopcChandi extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 711, 160); size = new Dimension( 711, 160);
...@@ -214,20 +214,19 @@ class LocalPanel extends JPanel { ...@@ -214,20 +214,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_buttoncommand extends GeComponent { protected class pwr_buttoncommand extends GeComponent {
Dimension size; // Dimension size;
public pwr_buttoncommand( JopSession session) public pwr_buttoncommand( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 96, 34); size = new Dimension( 96, 34);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 96; public int original_width = 96;
public int original_height = 34; public int original_height = 34;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -282,7 +281,7 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -282,7 +281,7 @@ protected class pwr_buttoncommand extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -428,20 +427,19 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -428,20 +427,19 @@ protected class pwr_buttoncommand extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuemedium extends GeComponent { protected class pwr_valuemedium extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuemedium( JopSession session) public pwr_valuemedium( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 60, 22); size = new Dimension( 60, 22);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 60; public int original_width = 60;
public int original_height = 22; public int original_height = 22;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -479,7 +477,7 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -479,7 +477,7 @@ protected class pwr_valuemedium extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -573,20 +571,19 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -573,20 +571,19 @@ protected class pwr_valuemedium extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 503, 17); size = new Dimension( 503, 17);
annot1Font = new Font("Helvetica", Font.BOLD, 8);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 8);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 503; public int original_width = 503;
public int original_height = 17; public int original_height = 17;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -624,7 +621,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -624,7 +621,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
...@@ -30,7 +30,7 @@ public class JopcChando extends JopFrame implements JopUtilityIfc { ...@@ -30,7 +30,7 @@ public class JopcChando extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 711, 160); size = new Dimension( 711, 160);
...@@ -214,20 +214,19 @@ class LocalPanel extends JPanel { ...@@ -214,20 +214,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_buttoncommand extends GeComponent { protected class pwr_buttoncommand extends GeComponent {
Dimension size; // Dimension size;
public pwr_buttoncommand( JopSession session) public pwr_buttoncommand( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 96, 34); size = new Dimension( 96, 34);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 96; public int original_width = 96;
public int original_height = 34; public int original_height = 34;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -282,7 +281,7 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -282,7 +281,7 @@ protected class pwr_buttoncommand extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -428,20 +427,19 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -428,20 +427,19 @@ protected class pwr_buttoncommand extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuemedium extends GeComponent { protected class pwr_valuemedium extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuemedium( JopSession session) public pwr_valuemedium( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 60, 22); size = new Dimension( 60, 22);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 60; public int original_width = 60;
public int original_height = 22; public int original_height = 22;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -479,7 +477,7 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -479,7 +477,7 @@ protected class pwr_valuemedium extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -573,20 +571,19 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -573,20 +571,19 @@ protected class pwr_valuemedium extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 503, 17); size = new Dimension( 503, 17);
annot1Font = new Font("Helvetica", Font.BOLD, 8);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 8);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 503; public int original_width = 503;
public int original_height = 17; public int original_height = 17;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -624,7 +621,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -624,7 +621,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
...@@ -31,7 +31,7 @@ public class JopcChanii extends JopFrame implements JopUtilityIfc { ...@@ -31,7 +31,7 @@ public class JopcChanii extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 711, 201); size = new Dimension( 711, 201);
...@@ -229,20 +229,19 @@ class LocalPanel extends JPanel { ...@@ -229,20 +229,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuemedium extends GeComponent { protected class pwr_valuemedium extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuemedium( JopSession session) public pwr_valuemedium( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 60, 22); size = new Dimension( 60, 22);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 60; public int original_width = 60;
public int original_height = 22; public int original_height = 22;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -280,7 +279,7 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -280,7 +279,7 @@ protected class pwr_valuemedium extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -374,20 +373,19 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -374,20 +373,19 @@ protected class pwr_valuemedium extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_buttoncommand extends GeComponent { protected class pwr_buttoncommand extends GeComponent {
Dimension size; // Dimension size;
public pwr_buttoncommand( JopSession session) public pwr_buttoncommand( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 96, 34); size = new Dimension( 96, 34);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 96; public int original_width = 96;
public int original_height = 34; public int original_height = 34;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -442,7 +440,7 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -442,7 +440,7 @@ protected class pwr_buttoncommand extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -588,20 +586,19 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -588,20 +586,19 @@ protected class pwr_buttoncommand extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 503, 17); size = new Dimension( 503, 17);
annot1Font = new Font("Helvetica", Font.BOLD, 8);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 8);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 503; public int original_width = 503;
public int original_height = 17; public int original_height = 17;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -639,7 +636,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -639,7 +636,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
...@@ -34,7 +34,7 @@ public class JopcChanio extends JopFrame implements JopUtilityIfc { ...@@ -34,7 +34,7 @@ public class JopcChanio extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 711, 226); size = new Dimension( 711, 226);
...@@ -267,20 +267,19 @@ class LocalPanel extends JPanel { ...@@ -267,20 +267,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuemedium extends GeComponent { protected class pwr_valuemedium extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuemedium( JopSession session) public pwr_valuemedium( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 60, 22); size = new Dimension( 60, 22);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 60; public int original_width = 60;
public int original_height = 22; public int original_height = 22;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -318,7 +317,7 @@ protected class pwr_valuemedium extends GeComponent { ...@@ -318,7 +317,7 @@ protected class pwr_valuemedium extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -418,20 +417,19 @@ protected class pwr_framethin extends GeFrameThin { ...@@ -418,20 +417,19 @@ protected class pwr_framethin extends GeFrameThin {
} }
} }
protected class pwr_buttoncommand extends GeComponent { protected class pwr_buttoncommand extends GeComponent {
Dimension size; // Dimension size;
public pwr_buttoncommand( JopSession session) public pwr_buttoncommand( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 96, 34); size = new Dimension( 96, 34);
annot1Font = new Font("Helvetica", Font.BOLD, 12);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 12);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 96; public int original_width = 96;
public int original_height = 34; public int original_height = 34;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -486,7 +484,7 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -486,7 +484,7 @@ protected class pwr_buttoncommand extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -632,20 +630,19 @@ protected class pwr_buttoncommand extends GeComponent { ...@@ -632,20 +630,19 @@ protected class pwr_buttoncommand extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 503, 17); size = new Dimension( 503, 17);
annot1Font = new Font("Helvetica", Font.BOLD, 8);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 8);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 503; public int original_width = 503;
public int original_height = 17; public int original_height = 17;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -683,7 +680,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -683,7 +680,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
This diff is collapsed.
...@@ -35,7 +35,7 @@ public class JopcDisksup extends JopFrame implements JopUtilityIfc { ...@@ -35,7 +35,7 @@ public class JopcDisksup extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 712, 271); size = new Dimension( 712, 271);
...@@ -312,7 +312,7 @@ class LocalPanel extends JPanel { ...@@ -312,7 +312,7 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_indsquare extends GeComponent { protected class pwr_indsquare extends GeComponent {
Dimension size; // Dimension size;
public pwr_indsquare( JopSession session) public pwr_indsquare( JopSession session)
{ {
super( session); super( session);
...@@ -355,7 +355,7 @@ protected class pwr_indsquare extends GeComponent { ...@@ -355,7 +355,7 @@ protected class pwr_indsquare extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -439,20 +439,19 @@ protected class pwr_indsquare extends GeComponent { ...@@ -439,20 +439,19 @@ protected class pwr_indsquare extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 601, 19); size = new Dimension( 601, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 601; public int original_width = 601;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -490,7 +489,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -490,7 +489,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -584,20 +583,19 @@ protected class pwr_valuelong extends GeComponent { ...@@ -584,20 +583,19 @@ protected class pwr_valuelong extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuesmall extends GeComponent { protected class pwr_valuesmall extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuesmall( JopSession session) public pwr_valuesmall( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 55, 19); size = new Dimension( 55, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 55; public int original_width = 55;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -635,7 +633,7 @@ protected class pwr_valuesmall extends GeComponent { ...@@ -635,7 +633,7 @@ protected class pwr_valuesmall extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
This diff is collapsed.
...@@ -31,7 +31,7 @@ public class JopcDsfastconf extends JopFrame implements JopUtilityIfc { ...@@ -31,7 +31,7 @@ public class JopcDsfastconf extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 711, 128); size = new Dimension( 711, 128);
...@@ -218,20 +218,19 @@ class LocalPanel extends JPanel { ...@@ -218,20 +218,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 608, 19); size = new Dimension( 608, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 608; public int original_width = 608;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -269,7 +268,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -269,7 +268,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -363,7 +362,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -363,7 +362,7 @@ protected class pwr_valuelong extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_indsquare extends GeComponent { protected class pwr_indsquare extends GeComponent {
Dimension size; // Dimension size;
public pwr_indsquare( JopSession session) public pwr_indsquare( JopSession session)
{ {
super( session); super( session);
...@@ -406,7 +405,7 @@ protected class pwr_indsquare extends GeComponent { ...@@ -406,7 +405,7 @@ protected class pwr_indsquare extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -490,20 +489,19 @@ protected class pwr_indsquare extends GeComponent { ...@@ -490,20 +489,19 @@ protected class pwr_indsquare extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuesmall extends GeComponent { protected class pwr_valuesmall extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuesmall( JopSession session) public pwr_valuesmall( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 56, 19); size = new Dimension( 56, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 56; public int original_width = 56;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -541,7 +539,7 @@ protected class pwr_valuesmall extends GeComponent { ...@@ -541,7 +539,7 @@ protected class pwr_valuesmall extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
...@@ -31,7 +31,7 @@ public class JopcDstrendconf extends JopFrame implements JopUtilityIfc { ...@@ -31,7 +31,7 @@ public class JopcDstrendconf extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 712, 131); size = new Dimension( 712, 131);
...@@ -218,20 +218,19 @@ class LocalPanel extends JPanel { ...@@ -218,20 +218,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 609, 19); size = new Dimension( 609, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 609; public int original_width = 609;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -269,7 +268,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -269,7 +268,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -363,7 +362,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -363,7 +362,7 @@ protected class pwr_valuelong extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_indsquare extends GeComponent { protected class pwr_indsquare extends GeComponent {
Dimension size; // Dimension size;
public pwr_indsquare( JopSession session) public pwr_indsquare( JopSession session)
{ {
super( session); super( session);
...@@ -406,7 +405,7 @@ protected class pwr_indsquare extends GeComponent { ...@@ -406,7 +405,7 @@ protected class pwr_indsquare extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -490,20 +489,19 @@ protected class pwr_indsquare extends GeComponent { ...@@ -490,20 +489,19 @@ protected class pwr_indsquare extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuesmall extends GeComponent { protected class pwr_valuesmall extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuesmall( JopSession session) public pwr_valuesmall( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 56, 19); size = new Dimension( 56, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 56; public int original_width = 56;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -541,7 +539,7 @@ protected class pwr_valuesmall extends GeComponent { ...@@ -541,7 +539,7 @@ protected class pwr_valuesmall extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -43,7 +43,7 @@ public class JopcIohandler extends JopFrame implements JopUtilityIfc { ...@@ -43,7 +43,7 @@ public class JopcIohandler extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 712, 278); size = new Dimension( 712, 278);
...@@ -414,20 +414,19 @@ class LocalPanel extends JPanel { ...@@ -414,20 +414,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 604, 19); size = new Dimension( 604, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 604; public int original_width = 604;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -465,7 +464,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -465,7 +464,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -559,7 +558,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -559,7 +558,7 @@ protected class pwr_valuelong extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_indsquare extends GeComponent { protected class pwr_indsquare extends GeComponent {
Dimension size; // Dimension size;
public pwr_indsquare( JopSession session) public pwr_indsquare( JopSession session)
{ {
super( session); super( session);
...@@ -602,7 +601,7 @@ protected class pwr_indsquare extends GeComponent { ...@@ -602,7 +601,7 @@ protected class pwr_indsquare extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -686,20 +685,19 @@ protected class pwr_indsquare extends GeComponent { ...@@ -686,20 +685,19 @@ protected class pwr_indsquare extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuesmall extends GeComponent { protected class pwr_valuesmall extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuesmall( JopSession session) public pwr_valuesmall( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 55, 19); size = new Dimension( 55, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 55; public int original_width = 55;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -737,7 +735,7 @@ protected class pwr_valuesmall extends GeComponent { ...@@ -737,7 +735,7 @@ protected class pwr_valuesmall extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
This diff is collapsed.
...@@ -33,7 +33,7 @@ public class JopcMessagehandler extends JopFrame implements JopUtilityIfc { ...@@ -33,7 +33,7 @@ public class JopcMessagehandler extends JopFrame implements JopUtilityIfc {
geInit(); geInit();
} }
public void geInit() { public void geInit() {
JopSpider.setSystemName( "Y"); JopSpider.setSystemName( "");
engine.setAnimationScanTime( 500); engine.setAnimationScanTime( 500);
engine.setScanTime( 500); engine.setScanTime( 500);
size = new Dimension( 711, 169); size = new Dimension( 711, 169);
...@@ -248,20 +248,19 @@ class LocalPanel extends JPanel { ...@@ -248,20 +248,19 @@ class LocalPanel extends JPanel {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuesmall extends GeComponent { protected class pwr_valuesmall extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuesmall( JopSession session) public pwr_valuesmall( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 56, 19); size = new Dimension( 56, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 56; public int original_width = 56;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -299,7 +298,7 @@ protected class pwr_valuesmall extends GeComponent { ...@@ -299,7 +298,7 @@ protected class pwr_valuesmall extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -393,20 +392,19 @@ protected class pwr_valuesmall extends GeComponent { ...@@ -393,20 +392,19 @@ protected class pwr_valuesmall extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_valuelong extends GeComponent { protected class pwr_valuelong extends GeComponent {
Dimension size; // Dimension size;
public pwr_valuelong( JopSession session) public pwr_valuelong( JopSession session)
{ {
super( session); super( session);
size = new Dimension( 610, 19); size = new Dimension( 610, 19);
annot1Font = new Font("Helvetica", Font.BOLD, 10);
} }
String annot1 = new String(); int annot1Color = 0;
public String getAnnot1() { return annot1;} public String getAnnot1() { return annot1;}
public void setAnnot1( String s) { annot1 = s;} public void setAnnot1( String s) { annot1 = s;}
Font annot1Font = new Font("Helvetica", Font.BOLD, 10);
int annot1Color = 0;
public void setAnnot1Font( Font font) { annot1Font = font;} public void setAnnot1Font( Font font) { annot1Font = font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public Font getAnnot1Font() { return annot1Font;} public Font getAnnot1Font() { return annot1Font;}
public void setAnnot1Color( int color) { annot1Color = color;}
public int original_width = 610; public int original_width = 610;
public int original_height = 19; public int original_height = 19;
Shape[] shapes = new Shape[] { Shape[] shapes = new Shape[] {
...@@ -444,7 +442,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -444,7 +442,7 @@ protected class pwr_valuelong extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
...@@ -538,7 +536,7 @@ protected class pwr_valuelong extends GeComponent { ...@@ -538,7 +536,7 @@ protected class pwr_valuelong extends GeComponent {
public Dimension getMinimumSize() { return size;} public Dimension getMinimumSize() { return size;}
} }
protected class pwr_indsquare extends GeComponent { protected class pwr_indsquare extends GeComponent {
Dimension size; // Dimension size;
public pwr_indsquare( JopSession session) public pwr_indsquare( JopSession session)
{ {
super( session); super( session);
...@@ -581,7 +579,7 @@ protected class pwr_indsquare extends GeComponent { ...@@ -581,7 +579,7 @@ protected class pwr_indsquare extends GeComponent {
else else
g.transform( AffineTransform.getScaleInstance( width/original_width, g.transform( AffineTransform.getScaleInstance( width/original_width,
height/original_height)); height/original_height));
if ( (dd.dynType & dd.mDynType_Rotate) != 0 && dd.rotate != 0) { if ( (dd.dynType & GeDyn.mDynType_Rotate) != 0 && dd.rotate != 0) {
g.rotate( Math.PI * dd.rotate/180, g.rotate( Math.PI * dd.rotate/180,
(dd.x0 - getX())*original_width/width, (dd.x0 - getX())*original_width/width,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* /*
* Proview $Id: GdhServer.java,v 1.12 2005-12-06 11:17:01 claes Exp $ * Proview $Id: GdhServer.java,v 1.13 2006-04-24 13:21:46 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -162,7 +162,7 @@ public class GdhServer ...@@ -162,7 +162,7 @@ public class GdhServer
/** /**
* Description of the Method * Description of the Method
*/ */
public void GdhServer() public GdhServer()
{ {
} }
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment