Statistics
| Revision:

root / trunk / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / px / dxf / AcadColor.html @ 2849

History | View | Annotate | Download (12.5 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.4.2_03) on Fri Sep 02 13:43:19 CEST 2005 -->
6
<TITLE>
7
AcadColor
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="org.cresques.px.dxf.AcadColor class">
11

    
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13

    
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="AcadColor";
18
}
19
</SCRIPT>
20

    
21
</HEAD>
22

    
23
<BODY BGCOLOR="white" onload="windowTitle();">
24

    
25

    
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30
<TR>
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
  <TR ALIGN="center" VALIGN="top">
35
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42
  </TR>
43
</TABLE>
44
</TD>
45
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46
</EM>
47
</TD>
48
</TR>
49

    
50
<TR>
51
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52
&nbsp;PREV CLASS&nbsp;
53
&nbsp;<A HREF="../../../../org/cresques/px/dxf/DxfArc.html" title="class in org.cresques.px.dxf"><B>NEXT CLASS</B></A></FONT></TD>
54
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
56
&nbsp;<A HREF="AcadColor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
57
&nbsp;<SCRIPT type="text/javascript">
58
  <!--
59
  if(window==top) {
60
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61
  }
62
  //-->
63
</SCRIPT>
64
<NOSCRIPT>
65
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
66
</NOSCRIPT>
67

    
68
</FONT></TD>
69
</TR>
70
<TR>
71
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75
</TR>
76
</TABLE>
77
<A NAME="skip-navbar_top"></A>
78
<!-- ========= END OF TOP NAVBAR ========= -->
79

    
80
<HR>
81
<!-- ======== START OF CLASS DATA ======== -->
82
<H2>
83
<FONT SIZE="-1">
84
org.cresques.px.dxf</FONT>
85
<BR>
86
Class AcadColor</H2>
87
<PRE>
88
java.lang.Object
89
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.px.dxf.AcadColor</B>
90
</PRE>
91
<HR>
92
<DL>
93
<DT>public class <B>AcadColor</B><DT>extends java.lang.Object</DL>
94

    
95
<P>
96
Colores RGB a partir de c?digos de color de AutoCAD
97
<P>
98

    
99
<P>
100
<DL>
101
<DT><B>Author:</B></DT>
102
  <DD>"Luis W. Sevilla" <sevilla_lui@gva.es></DD>
103
</DL>
104
<HR>
105

    
106
<P>
107
<!-- ======== NESTED CLASS SUMMARY ======== -->
108

    
109

    
110
<!-- =========== FIELD SUMMARY =========== -->
111

    
112
<A NAME="field_summary"><!-- --></A>
113
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
114
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115
<TD COLSPAN=2><FONT SIZE="+2">
116
<B>Field Summary</B></FONT></TD>
117
</TR>
118
<TR BGCOLOR="white" CLASS="TableRowColor">
119
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
120
<CODE>static&nbsp;int</CODE></FONT></TD>
121
<TD><CODE><B><A HREF="../../../../org/cresques/px/dxf/AcadColor.html#BYBLOCK">BYBLOCK</A></B></CODE>
122

    
123
<BR>
124
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
125
</TR>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128
<CODE>static&nbsp;int</CODE></FONT></TD>
129
<TD><CODE><B><A HREF="../../../../org/cresques/px/dxf/AcadColor.html#BYLAYER">BYLAYER</A></B></CODE>
130

    
131
<BR>
132
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
133
</TR>
134
</TABLE>
135
&nbsp;
136
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
137

    
138
<A NAME="constructor_summary"><!-- --></A>
139
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
141
<TD COLSPAN=2><FONT SIZE="+2">
142
<B>Constructor Summary</B></FONT></TD>
143
</TR>
144
<TR BGCOLOR="white" CLASS="TableRowColor">
145
<TD><CODE><B><A HREF="../../../../org/cresques/px/dxf/AcadColor.html#AcadColor(int, double, double, double, double, double, double)">AcadColor</A></B>(int&nbsp;code,
146
          double&nbsp;r0,
147
          double&nbsp;g0,
148
          double&nbsp;b0,
149
          double&nbsp;r,
150
          double&nbsp;g,
151
          double&nbsp;b)</CODE>
152

    
153
<BR>
154
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor de AcadColor.</TD>
155
</TR>
156
</TABLE>
157
&nbsp;
158
<!-- ========== METHOD SUMMARY =========== -->
159

    
160
<A NAME="method_summary"><!-- --></A>
161
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
162
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
163
<TD COLSPAN=2><FONT SIZE="+2">
164
<B>Method Summary</B></FONT></TD>
165
</TR>
166
<TR BGCOLOR="white" CLASS="TableRowColor">
167
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168
<CODE>static&nbsp;java.awt.Color</CODE></FONT></TD>
169
<TD><CODE><B><A HREF="../../../../org/cresques/px/dxf/AcadColor.html#getColor(int)">getColor</A></B>(int&nbsp;code)</CODE>
170

    
171
<BR>
172
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve el color de java correspondiente a un c?digo de color de AutoCAD que
173
 se le pasa como argumento.</TD>
174
</TR>
175
<TR BGCOLOR="white" CLASS="TableRowColor">
176
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177
<CODE>static&nbsp;<A HREF="../../../../org/cresques/px/dxf/AcadColor.html" title="class in org.cresques.px.dxf">AcadColor</A>[]</CODE></FONT></TD>
178
<TD><CODE><B><A HREF="../../../../org/cresques/px/dxf/AcadColor.html#initTable()">initTable</A></B>()</CODE>
179

    
180
<BR>
181
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Devuelve un array de objetos AcadColor que sirven de base para establecer
182
 la relaci?n entre colores de AutoCAD y colores de java.</TD>
183
</TR>
184
</TABLE>
185
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
186
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
187
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
188
<TD><B>Methods inherited from class java.lang.Object</B></TD>
189
</TR>
190
<TR BGCOLOR="white" CLASS="TableRowColor">
191
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
192
</TR>
193
</TABLE>
194
&nbsp;
195
<P>
196

    
197
<!-- ============ FIELD DETAIL =========== -->
198

    
199
<A NAME="field_detail"><!-- --></A>
200
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
201
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
202
<TD COLSPAN=1><FONT SIZE="+2">
203
<B>Field Detail</B></FONT></TD>
204
</TR>
205
</TABLE>
206

    
207
<A NAME="BYLAYER"><!-- --></A><H3>
208
BYLAYER</H3>
209
<PRE>
210
public static final int <B>BYLAYER</B></PRE>
211
<DL>
212
<DL>
213
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.px.dxf.AcadColor.BYLAYER">Constant Field Values</A></DL>
214
</DL>
215
<HR>
216

    
217
<A NAME="BYBLOCK"><!-- --></A><H3>
218
BYBLOCK</H3>
219
<PRE>
220
public static final int <B>BYBLOCK</B></PRE>
221
<DL>
222
<DL>
223
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.cresques.px.dxf.AcadColor.BYBLOCK">Constant Field Values</A></DL>
224
</DL>
225

    
226
<!-- ========= CONSTRUCTOR DETAIL ======== -->
227

    
228
<A NAME="constructor_detail"><!-- --></A>
229
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
230
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
231
<TD COLSPAN=1><FONT SIZE="+2">
232
<B>Constructor Detail</B></FONT></TD>
233
</TR>
234
</TABLE>
235

    
236
<A NAME="AcadColor(int, double, double, double, double, double, double)"><!-- --></A><H3>
237
AcadColor</H3>
238
<PRE>
239
public <B>AcadColor</B>(int&nbsp;code,
240
                 double&nbsp;r0,
241
                 double&nbsp;g0,
242
                 double&nbsp;b0,
243
                 double&nbsp;r,
244
                 double&nbsp;g,
245
                 double&nbsp;b)</PRE>
246
<DL>
247
<DD>Constructor de AcadColor.
248
<P>
249
</DL>
250

    
251
<!-- ============ METHOD DETAIL ========== -->
252

    
253
<A NAME="method_detail"><!-- --></A>
254
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
255
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
256
<TD COLSPAN=1><FONT SIZE="+2">
257
<B>Method Detail</B></FONT></TD>
258
</TR>
259
</TABLE>
260

    
261
<A NAME="getColor(int)"><!-- --></A><H3>
262
getColor</H3>
263
<PRE>
264
public static java.awt.Color <B>getColor</B>(int&nbsp;code)</PRE>
265
<DL>
266
<DD>Devuelve el color de java correspondiente a un c?digo de color de AutoCAD que
267
 se le pasa como argumento.
268
<P>
269
<DD><DL>
270

    
271
<DT><B>Returns:</B><DD>Color</DL>
272
</DD>
273
</DL>
274
<HR>
275

    
276
<A NAME="initTable()"><!-- --></A><H3>
277
initTable</H3>
278
<PRE>
279
public static <A HREF="../../../../org/cresques/px/dxf/AcadColor.html" title="class in org.cresques.px.dxf">AcadColor</A>[] <B>initTable</B>()</PRE>
280
<DL>
281
<DD>Devuelve un array de objetos AcadColor que sirven de base para establecer
282
 la relaci?n entre colores de AutoCAD y colores de java.
283
<P>
284
<DD><DL>
285

    
286
<DT><B>Returns:</B><DD>AcadColor[], array de objetos AcadColor con las correspondencias entre
287
 los colores de AutoCAD y los colores java.</DL>
288
</DD>
289
</DL>
290
<!-- ========= END OF CLASS DATA ========= -->
291
<HR>
292

    
293

    
294
<!-- ======= START OF BOTTOM NAVBAR ====== -->
295
<A NAME="navbar_bottom"><!-- --></A>
296
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
297
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
298
<TR>
299
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
300
<A NAME="navbar_bottom_firstrow"><!-- --></A>
301
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
302
  <TR ALIGN="center" VALIGN="top">
303
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
304
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
305
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
306
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
307
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
308
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
309
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
310
  </TR>
311
</TABLE>
312
</TD>
313
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
314
</EM>
315
</TD>
316
</TR>
317

    
318
<TR>
319
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
320
&nbsp;PREV CLASS&nbsp;
321
&nbsp;<A HREF="../../../../org/cresques/px/dxf/DxfArc.html" title="class in org.cresques.px.dxf"><B>NEXT CLASS</B></A></FONT></TD>
322
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
323
  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
324
&nbsp;<A HREF="AcadColor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
325
&nbsp;<SCRIPT type="text/javascript">
326
  <!--
327
  if(window==top) {
328
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
329
  }
330
  //-->
331
</SCRIPT>
332
<NOSCRIPT>
333
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
334
</NOSCRIPT>
335

    
336
</FONT></TD>
337
</TR>
338
<TR>
339
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
340
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
341
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
342
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
343
</TR>
344
</TABLE>
345
<A NAME="skip-navbar_bottom"></A>
346
<!-- ======== END OF BOTTOM NAVBAR ======= -->
347

    
348
<HR>
349

    
350
</BODY>
351
</HTML>