module_standard.wSerial
Class AbstractImpDot

Object
  extended by Thread
      extended by module_standard.wSerial.AbstractImpDot
All Implemented Interfaces:
Runnable

public abstract class AbstractImpDot
extends Thread


A_doc
Licence.


Nested Class Summary
 
Nested classes/interfaces inherited from class Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  int boucle
           
static int BOUCLE_1
           
static int BOUCLE_FOR
           
static double coef12
           
static double coef8
           
 String[] data
           
static int DIRECT
           
static int FDATA
           
static int FORMAT
           
(package private)  Gp gpAbc
           
(package private)  double hp_margh
           
(package private)  double hp_margv
           
static String LASER
           
(package private)  String name
           
(package private)  String nbDot
           
(package private)  int nbFields
           
protected  int nbre
           
 String[] pagi
           
static int PAGI_DATE
           
static int PAGI_HEURE
           
static int PAGI_SUR
           
static int PAGI_UN
           
(package private)  String s_prn
           
(package private)  Serial serial
           
protected  int sur
           
(package private)  String t_fonti
           
(package private)  double t_size
           
(package private)  String t_style
           
(package private)  boolean trace
           
(package private)  int type
           
protected  int un
           
 
Fields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AbstractImpDot(Gp gpAbc, int num, String name, int type, int nbFields)
           
 
Method Summary
protected  void box(double t_posy, double t_posx, double t_haut, double t_long, double t_larg)
           
protected  void cba(double t_posx, double t_posy, String ti_type, String ti_larb, double ti_haub, String ti_codb)
           
protected  void dir(int dir)
           
abstract  void etiq()
           
 String[] getData()
           
protected  void imp(String command)
           
protected  void lig(double t_posx, double t_posy, double t_long, double t_larg)
           
 void print(int un, int sur, int nbre)
           
 void run()
           
 void setDataPagi(String[] data, int un, int sur, int nbre, int boucle)
           
 void setDebug(boolean enable)
           
 void startImp()
           
protected  void txt(double t_posx, double t_posy, String t_font, String t_style, double t_size, String t_text)
           
 
Methods inherited from class Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DIRECT

public static final int DIRECT
See Also:
Constant Field Values

FORMAT

public static final int FORMAT
See Also:
Constant Field Values

FDATA

public static final int FDATA
See Also:
Constant Field Values

BOUCLE_1

public static final int BOUCLE_1
See Also:
Constant Field Values

BOUCLE_FOR

public static final int BOUCLE_FOR
See Also:
Constant Field Values

LASER

public static final String LASER
See Also:
Constant Field Values

coef8

public static final double coef8
See Also:
Constant Field Values

coef12

public static final double coef12
See Also:
Constant Field Values

PAGI_UN

public static final int PAGI_UN
See Also:
Constant Field Values

PAGI_SUR

public static final int PAGI_SUR
See Also:
Constant Field Values

PAGI_DATE

public static final int PAGI_DATE
See Also:
Constant Field Values

PAGI_HEURE

public static final int PAGI_HEURE
See Also:
Constant Field Values

data

public String[] data

pagi

public String[] pagi

trace

boolean trace

serial

Serial serial

type

int type

t_fonti

String t_fonti

t_size

double t_size

t_style

String t_style

hp_margv

double hp_margv

hp_margh

double hp_margh

nbDot

String nbDot

un

protected int un

sur

protected int sur

nbre

protected int nbre

boucle

protected int boucle

nbFields

int nbFields

gpAbc

Gp gpAbc

name

String name

s_prn

String s_prn
Constructor Detail

AbstractImpDot

public AbstractImpDot(Gp gpAbc,
                      int num,
                      String name,
                      int type,
                      int nbFields)
Method Detail

print

public void print(int un,
                  int sur,
                  int nbre)

setDataPagi

public void setDataPagi(String[] data,
                        int un,
                        int sur,
                        int nbre,
                        int boucle)

etiq

public abstract void etiq()

getData

public String[] getData()

setDebug

public void setDebug(boolean enable)

box

protected void box(double t_posy,
                   double t_posx,
                   double t_haut,
                   double t_long,
                   double t_larg)

txt

protected void txt(double t_posx,
                   double t_posy,
                   String t_font,
                   String t_style,
                   double t_size,
                   String t_text)

cba

protected void cba(double t_posx,
                   double t_posy,
                   String ti_type,
                   String ti_larb,
                   double ti_haub,
                   String ti_codb)

lig

protected void lig(double t_posx,
                   double t_posy,
                   double t_long,
                   double t_larg)

dir

protected void dir(int dir)

imp

protected void imp(String command)

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

startImp

public void startImp()