|
From: DeWeese, J. <jde...@ba...> - 2002-02-12 19:51:23
|
All -
To start we need to create an abstract java interface that
encapsulates what a layer contains on the most basic level.
Layer - abstract interface representation of a dynAPI layer
-----------
* Array of Objects - images, tables, text, ...; this will be objects
compiled into HTML
* Array of ObjectPositions - matching array that give relative positioning
of objects above;
* Array of Events - responses to events on the layer level (mouse clicks,
mouse over, ...)
* Position - Absolute position of layer on base layer
* Size - height and width of layer
* Background Color - color of layer (may be clear, i think)
These are the properties handled by the dynAPI we are using as our
core. There might be more, but I think these are the bare minimums. If we
come to an agreement early on the basics, we will have a good start.
Unrelated to the previous here is some code for a basic system file
viewer I created. It is far from finished, it has some resizing issue and
no real funtionality. We could eventually use it as a part of a project
viewer.
<<JFileTree.java>> <<FileTree.java>>
begin 600 JFileTree.java
M:6UP;W)T(&IA=F$N=71I;"XJ.PT*:6UP;W)T(&IA=F$N:6\N*CL-"FEM<&]R
M="!J879A>"YS=VEN9RXJ.PT*:6UP;W)T(&IA=F%X+G-W:6YG+F5V96YT+BH[
M#0II;7!O<G0@:F%V87@N<W=I;F<N=')E92XJ.PT*:6UP;W)T(&IA=F$N87=T
M+BH[#0H-"G!U8FQI8R!C;&%S<R!*1FEL951R964@97AT96YD<R!*4&%N96P@
M:6UP;&5M96YT<R!4<F5E5VEL;$5X<&%N9$QI<W1E;F5R('L-"@T*("!P<FEV
M871E($1E9F%U;'1-=71A8FQE5')E94YO9&4@=&]P.PT*("!P<FEV871E($I4
M<F5E('1R964[#0H-"@T*("!P=6)L:6,@2D9I;&54<F5E*"D@>PT*("`@('1H
M:7,H(DUY($-O;7!U=&5R(BD[#0H@('T-"@T*#0H@('!U8FQI8R!*1FEL951R
M964H4W1R:6YG(')O;W1?;F%M92D@>PT*("`@('1O<"`](&YE=R!$969A=6QT
M375T86)L951R965.;V1E*')O;W1?;F%M92D[#0H@("`@=')E92`](&YE=R!*
M5')E92AT;W`I.PT*("`@($I38W)O;&Q086YE('-C<F]L;"`](&YE=R!*4V-R
M;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871E('9O:60@86QL;W=S0VAI;&1R96XH1&5F875L=$UU=&%B;&54
M<F5E3F]D92!N;V1E*2![#0H@("`@16YU;65R871I;VX@8VAI;&1R96X@/2!N
M;V1E+F-H:6QD<F5N*"D[#0H@("`@=VAI;&4H8VAI;&1R96XN:&%S36]R945L
M96UE;G1S*"D@*2![#0H@("`@("!$969A=6QT375T86)L951R965.;V1E(&-H
M:6QD(#T@*$1E9F%U;'1-=71A8FQE5')E94YO9&4I8VAI;&1R96XN;F5X=$5L
M96UE;G0H*3L-"B`@("`@(&EF*&YO9&4@/3T@=&]P('Q\("@H1FEL94YO9&4I
M8VAI;&0N9V5T57-E<D]B:F5C="@I*2YG971&:6QE*"DN:7-$:7)E8W1O<GDH
M*2`I#0H@("`@("`@(&-H:6QD+G-E=$%L;&]W<T-H:6QD<F5N*'1R=64I.PT*
M("`@('T-"B`@?0T*#0H-"B`@<')I=F%T92!&:6QE3F]D95M=('=R87!&:6QE
M07)R87DH1FEL95M=(&9I;&5S*7L-"B`@("!I9BAF:6QE<R`A/2!N=6QL*7L-
M"B`@("`@($9I;&5.;V1E6UT@9FEL96YO9&5S(#T@;F5W($9I;&5.;V1E6V9I
M;&5S+FQE;F=T:%T[#0H@("`@("!F;W(H:6YT(&D@/2`P.R!I(#P@9FEL97,N
M;&5N9W1H.R!I*RLI#0H@("`@("`@(&9I;&5N;V1E<UMI72`](&YE=R!&:6QE
M3F]D92AF:6QE<UMI72D[#0H@("`@("!R971U<FX@9FEL96YO9&5S.PT*("`@
M('T-"B`@("!R971U<FX@;G5L;#L-"B`@?0T*#0H-"B`@<'5B;&EC('9O:60@
M=')E95=I;&Q%>'!A;F0H5')E945X<&%N<VEO;D5V96YT(&5V96YT*7L-"B`@
M("!$969A=6QT375T86)L951R965.;V1E(&YO9&4@/2`H1&5F875L=$UU=&%B
M;&54<F5E3F]D92EE=F5N="YG9710871H*"DN9V5T3&%S=%!A=&A#;VUP;VYE
M;G0H*3L-"B`@("!I9BAN;V1E("$]('1O<"E[#0H@("`@("!T:&ES+F%D9$9I
M;&5S*&YO9&4I.PT*("`@('T-"B`@?0T*#0H-"B`@<'5B;&EC('9O:60@=')E
M95=I;&Q#;VQL87!S92A4<F5E17AP86YS:6]N179E;G0@979E;G0I>PT*("`@
M($1E9F%U;'1-=71A8FQE5')E94YO9&4@;F]D92`]("A$969A=6QT375T86)L
M951R965.;V1E*65V96YT+F=E=%!A=&@H*2YG971,87-T4&%T:$-O;7!O;F5N
M="@I.PT*("`@(&EF*&YO9&4@(3T@=&]P*0T*("`@("`@=&AI<RYR96UO=F5&
M:6QE<RAN;V1E*3L-"B`@?0T*#0H-"B`@<'5B;&EC(&-L87-S($9I;&5.;V1E
M('L-"@T*("`@('!R:79A=&4@1FEL92!F:6QE.PT*#0H@("`@<'5B;&EC($9I
M;&5.;V1E*$9I;&4@849I;&4I>PT*("`@("`@9FEL92`](&%&:6QE.PT*("`@
M('T-"@T*("`@('!U8FQI8R!&:6QE(&=E=$9I;&4H*2![#0H@("`@("!R971U
M<FX@9FEL93L-"B`@("!]#0H-"B`@("!P=6)L:6,@4W1R:6YG('1O4W1R:6YG
M*"E[#0H@("`@("!I9B@A(&9I;&4N9V5T3F%M92@I+G1R:6TH*2YE<75A;',H
M(B(I("D-"B`@("`@("`@<F5T=7)N(&9I;&4N9V5T3F%M92@I.PT*("`@("`@
M96QS90T*("`@("`@("!R971U<FX@9FEL92YT;U-T<FEN9R@I.PT*("`@('T-
+"@T*("!]#0H-"GT=
`
end
begin 600 FileTree.java
M:6UP;W)T(&IA=F%X+G-W:6YG+BH[#0II;7!O<G0@:F%V82YA=W0N*CL-"@T*
M<'5B;&EC(&-L87-S($9I;&54<F5E>PT*("!S=&%T:6,@=F]I9"!M86EN*"!3
M=')I;F=;72!A<F=S("E[#0H@("`@2D9R86UE('=I;F1O=R`](&YE=R!*1G)A
M;64H(D9I;&54<F5E(%1E<W0B*3L-"B`@("!W:6YD;W<N<V5T1&5F875L=$-L
M;W-E3W!E<F%T:6]N*$I&<F%M92Y%6$E47T].7T-,3U-%*3L-"B`@("!";W)D
M97),87EO=70@8F]R9&5R(#T@;F5W($)O<F1E<DQA>6]U="@I.PT*("`@($-O
M;G1A:6YE<B!C;VYT96YT(#T@=VEN9&]W+F=E=$-O;G1E;G1086YE*"D[#0H@
M("`@8V]N=&5N="YS971,87EO=70H8F]R9&5R*3L-"B`@("!*4W!L:71086YE
M('-P;&ET(#T@;F5W($I3<&QI=%!A;F4H($I3<&QI=%!A;F4N2$]225I/3E1!
M3%]34$Q)5"P-"B`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@("`@
M("`@(&YE=R!*1FEL951R964H*2P-"B`@("`@("`@("`@("`@("`@("`@("`@
M("`@("`@("`@("`@("`@(&YE=R!*5&5X=$%R96$H*2`I.PT*("`@(&-O;G1E
M;G0N861D*'-P;&ET+$)O<F1E<DQA>6]U="Y#14Y415(I.PT*#0H@("`@=VEN
M9&]W+G!A8VLH*3L-"B`@("!W:6YD;W<N<V5T5FES:6)L92AT<G5E*3L-"B`@
*#0H-"B`@?0T*?0==
`
end
|
|
From: Javier N. <jav...@ya...> - 2002-02-12 20:23:59
|
> * Array of Objects - images, tables, text, ...; this will be objects > compiled into HTML > * Array of ObjectPositions - matching array that give relative positioning > of objects above; > * Array of Events - responses to events on the layer level (mouse clicks, > mouse over, ...) > * Position - Absolute position of layer on base layer > * Size - height and width of layer > * Background Color - color of layer (may be clear, i think) I don't understand the first and second array, What are you thinking about? What's an image or a table? (I know what are them... but, Why are you considering them as objects "inside" a layer?) And, I don't understand why are you putting an array for object positions, that "objects" you mention don't have an absolute position... I think, we should have an array of child layers and add a HTML_Content property Well, I'm not a great programmer... but I just don't understand that, maybe it is an stupid question... ----- Original Message ----- From: "DeWeese, Jason" <jde...@ba...> To: "DynAPI IDE Developers (E-mail)" <dyn...@li...> Sent: Tuesday, February 12, 2002 8:51 PM Subject: [Dynapyide-developer] Creating a foundation > All - > > To start we need to create an abstract java interface that > encapsulates what a layer contains on the most basic level. > > > Layer - abstract interface representation of a dynAPI layer > ----------- > * Array of Objects - images, tables, text, ...; this will be objects > compiled into HTML > * Array of ObjectPositions - matching array that give relative positioning > of objects above; > * Array of Events - responses to events on the layer level (mouse clicks, > mouse over, ...) > * Position - Absolute position of layer on base layer > * Size - height and width of layer > * Background Color - color of layer (may be clear, i think) > > > These are the properties handled by the dynAPI we are using as our > core. There might be more, but I think these are the bare minimums. If we > come to an agreement early on the basics, we will have a good start. > > Unrelated to the previous here is some code for a basic system file > viewer I created. It is far from finished, it has some resizing issue and > no real funtionality. We could eventually use it as a part of a project > viewer. > > <<JFileTree.java>> <<FileTree.java>> > > > > ---------------------------------------------------------------------------- ---- > > _______________________________________________ > Dynapyide-developer mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapyide-developer _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |