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