Re: New Object

"William L. Thomson Jr." <[email protected]> 03 Dec 2002 00:03:11 -0800
Newsgroups gmane.comp.java.jgenerator.devel
Message-ID <[email protected]>
On Mon, 2002-12-02 at 21:50, Dmitry Skavish wrote:
> William,
> 
> > 	This should reduce the size of large lists, and speed up generation
> > time. Not to mention replicating a functionality that is commonly used
> > in HTML lists. Hope it makes sense. I am sure you have seen, and will
> > know what I am talking about when you see the object.
> 
> It sounds good. I am sure this object will be useful!

I think so.

> > 	Now I have one question for you I do not know off the top of my head.
> > How can a swt determine it's own name and file path?
> 
> You just need to include it there. Since JGenerator processes an .swt to generate .swf,
> it knows the file name, so when you need to include loadMovie into it you just
> put the .swt name there. FlashFile.getFileName() should do the job.

Actually I was thinking incorrectly. Why take care of a client side
problem server side. A little actionscript using the _url property and
appending vars onto it will work out just fine. Already tested and taken
care of. So that problem is done.
 
> > 	Also what type of settings would you and others like to have. Of course
> > there will be a setting to determine the color of the #'s at the bottom.
> > There will be setting to either display a fixed amount of items, or
> > determine it automatically. 
> 
> also font and size

Yes I meant to mention those. I am thinking about using a TextField
instead of regular text. That way I can set it to HTML and underline the
font. Also that way if a font is not specified, it will just substitute
with a system one. I think I can get away with that?

> > 	Do you think there needs to be a setting to control where the # buttons
> > go. Top/Bottom/Center/Left/Right. Both top and bottom?
> 
> yeah, may be. but it all depends. I usually do what _I_ need at the moment and that's it.
> It seems to be a very good approach, because since this stuff is opensource everybody
> can go and modify for himself if he needs something else/more.

I think unless someone requests it or I really feel like it I will make
the positioning fixed. If I am in the mood I may add a setting to
control position and alignment of the nav buttons, but I would not count
on it.

I should be committing the new object tomorrow. What else do I need to
modify so that ant will compile the new java file. Or is ant set to
compile everything in that dir. Or will you handle that aspect, you
meaning Dmitry. :)


-- 
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone  707.766.9509
Fax    707.766.8989
http://www.obsidian-studios.com



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en