svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libUIComponent / doc / contents.html @ 39934
History | View | Annotate | Download (4.45 KB)
1 | 10741 | nacho | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|---|---|---|
2 | <HTML>
|
||
3 | <HEAD>
|
||
4 | <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-15"> |
||
5 | <TITLE></TITLE> |
||
6 | <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.3 (Linux)"> |
||
7 | <META NAME="CREATED" CONTENT="20060322;9174300"> |
||
8 | <META NAME="CHANGED" CONTENT="20060322;10202100"> |
||
9 | <STYLE>
|
||
10 | <!--
|
||
11 | @page { size: 21cm 29.7cm; margin: 2cm }
|
||
12 | P { margin-bottom: 0.21cm }
|
||
13 | A:link { color: #000080; text-decoration: underline }
|
||
14 | A:visited { color: #800000; text-decoration: underline }
|
||
15 | -->
|
||
16 | </STYLE>
|
||
17 | </HEAD>
|
||
18 | <BODY LANG="en-US" LINK="#000080" VLINK="#800000" DIR="LTR"> |
||
19 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Monospace"><FONT SIZE=3 STYLE="font-size: 13pt"><B>PRESENT |
||
20 | BEANS.</B></FONT></FONT></P> |
||
21 | <P STYLE="margin-bottom: 0cm"><BR> |
||
22 | </P>
|
||
23 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Times, serif"><FONT SIZE=2><B>DefaultBean.java |
||
24 | (extends JPanel (standard in Swing)):</B><SPAN STYLE="font-weight: medium"> |
||
25 | Just a JPanel with addListener(BeanListener l), |
||
26 | removeListener(BeanListener l), and callValueChange(Object value) |
||
27 | methods for adding listeners, removing listeners, and firing |
||
28 | BeanValueChange events.</SPAN></FONT></FONT></P> |
||
29 | <P STYLE="margin-bottom: 0cm"><BR> |
||
30 | </P>
|
||
31 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Times, serif"><FONT SIZE=2><B>Pager.java |
||
32 | (extends DefaultBean.java)</B>: this is an
|
||
33 | AcrobatReader-page-browser-like bean that allows you to easy browse a |
||
34 | list of values. Each time you drag the slider, click a button or type |
||
35 | a number an Integer value is produced and a BeanValueChanged event is |
||
36 | fired returning an Object value. Catch this event and cast the value |
||
37 | produced to a Integer (or even an int) and use it to move your list |
||
38 | pointer to this position. An example of use can be found in |
||
39 | <B>SamplePanel.java</B></FONT></FONT></P> |
||
40 | <P STYLE="margin-bottom: 0cm"><BR> |
||
41 | </P>
|
||
42 | <P STYLE="margin-bottom: 0cm"><BR> |
||
43 | </P>
|
||
44 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Monospace"><FONT SIZE=3 STYLE="font-size: 13pt"><B>PRESENT |
||
45 | CONTROLS.</B></FONT></FONT></P> |
||
46 | <P STYLE="margin-bottom: 0cm"><BR> |
||
47 | </P>
|
||
48 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Monospace"><FONT SIZE=2><B>package |
||
49 | org.gvsig.gui.beans.controls</B></FONT></FONT></P> |
||
50 | <P STYLE="margin-bottom: 0cm"><BR> |
||
51 | </P>
|
||
52 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Times, serif"><FONT SIZE=2><B>MultilineTooltip.java |
||
53 | (extends JToolTip (standard in Swing)): </B><SPAN STYLE="font-weight: medium">Allows |
||
54 | using more than one line length tooltips. It also automatically |
||
55 | calculates the size of the screen rectangle used and the preferred |
||
56 | sized up on the contained text. It does NOT format the text to fit |
||
57 | within a given size. The user must provide the text as she/he wishes |
||
58 | to show it. It means that new line characters must be placed in the |
||
59 | string as well as it was a System.out.println statement.</SPAN></FONT></FONT></P> |
||
60 | <P STYLE="margin-bottom: 0cm"><BR> |
||
61 | </P>
|
||
62 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Monospace"><FONT SIZE=2><B>package |
||
63 | org.gvsig.gui.beans.controls.dnd</B></FONT></FONT></P> |
||
64 | <P STYLE="margin-bottom: 0cm"><BR> |
||
65 | </P>
|
||
66 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Times, serif"><FONT SIZE=2><B>JDnDList |
||
67 | (extends JList (standard in Swing)): </B><SPAN STYLE="font-weight: medium">A |
||
68 | JList that allows drag'n'drop elements. It accepts changing position |
||
69 | of one or more elements within the list, adding other from other |
||
70 | JDnDList's, removing sets of selected items, and other features. In |
||
71 | order to use this features you have to use a JDnDListModel as the |
||
72 | list's model.</SPAN></FONT></FONT></P> |
||
73 | <P STYLE="margin-bottom: 0cm"><BR> |
||
74 | </P>
|
||
75 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Times, serif"><FONT SIZE=2><B>JDnDListModel |
||
76 | (extends AbstractListModel (standard in Swing)): </B><SPAN STYLE="font-weight: medium">List |
||
77 | model to use in junction the JDnDList. Contains some useful tools.</SPAN></FONT></FONT></P> |
||
78 | <P STYLE="margin-bottom: 0cm"><BR> |
||
79 | </P>
|
||
80 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Monospace"><FONT SIZE=2><B>package |
||
81 | org.gvsig.gui.geans.listeners</B></FONT></FONT></P> |
||
82 | <P STYLE="margin-bottom: 0cm"><BR> |
||
83 | </P>
|
||
84 | <P STYLE="margin-bottom: 0cm"><FONT FACE="Times, serif"><FONT SIZE=2><B>BeanListener.java: |
||
85 | </B><SPAN STYLE="font-weight: medium">Defines an object which listens |
||
86 | for changes in the value produced by a bean. It is used, for example, |
||
87 | in</SPAN><B> DefaultBean.java.</B></FONT></FONT></P> |
||
88 | <P STYLE="margin-bottom: 0cm"><BR> |
||
89 | </P>
|
||
90 | <P STYLE="margin-bottom: 0cm; font-weight: medium"><BR> |
||
91 | </P>
|
||
92 | <P STYLE="margin-bottom: 0cm; font-weight: medium"><FONT FACE="Courier, monospace"><FONT SIZE=2>by |
||
93 | Jaume Domínguez Faus (:S)</FONT></FONT></P> |
||
94 | </BODY>
|
||
95 | </HTML> |