[flexcoders] balanced tree?

2006-10-20 Thread Douglas Knudsen



Ok, I'm starting to work on creating a 'balanced' tree component. I planned to extend UIComponent. Any other suggestions on which class I should extend? Wondering If I could exptend the Tree class and make it work somehow. By 'balanced' tree I mean one where the nodes pile up on center, not alligned right only like Tree.
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] balanced tree?

2006-10-20 Thread Michael Schmalle



Hi,Seems to me you could do this quite easy with itemRenderers, using indent calculations based off of measured or unscaled witdth.Peace, MikeOn 10/20/06, 
Douglas Knudsen [EMAIL PROTECTED] wrote:













  



Ok, I'm starting to work on creating a 'balanced' tree component. I planned to extend UIComponent. Any other suggestions on which class I should extend? Wondering If I could exptend the Tree class and make it work somehow. By 'balanced' tree I mean one where the nodes pile up on center, not alligned right only like Tree.
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

  













-- What goes up, does come down.

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] balanced tree?

2006-10-20 Thread Douglas Knudsen



ok, but extend which component in your idea? DKOn 10/20/06, Michael Schmalle [EMAIL PROTECTED]
 wrote:


Hi,Seems to me you could do this quite easy with itemRenderers, using indent calculations based off of measured or unscaled witdth.Peace, Mike
On 10/20/06, 
Douglas Knudsen [EMAIL PROTECTED] wrote:














  



Ok, I'm starting to work on creating a 'balanced' tree component. I planned to extend UIComponent. Any other suggestions on which class I should extend? Wondering If I could exptend the Tree class and make it work somehow. By 'balanced' tree I mean one where the nodes pile up on center, not alligned right only like Tree.
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

  













-- What goes up, does come down.




-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] balanced tree?

2006-10-20 Thread Michael Schmalle



Hi,I would use the Tree. I think I understand what you are trying to accomplish.Basically you will look at the TreeItemRenderer. If you notice, the disclosureIcon, icon and label are all hard coded left align.
All you would need to do is use the TreeData to get the indent and you could then position the assets wherever you wanted. I don't know what your idea is as to the positioning of the disclosureIcon but, I can see a lot of different ways to layout out the item whild centering the label and icon.
Using the indent property your really could get creative. Just depends what exactly you are trying to accomplish.Peace, MikeOn 10/20/06, 
Douglas Knudsen [EMAIL PROTECTED] wrote:













  



ok, but extend which component in your idea? DKOn 10/20/06, Michael Schmalle 
[EMAIL PROTECTED]
 wrote:


Hi,Seems to me you could do this quite easy with itemRenderers, using indent calculations based off of measured or unscaled witdth.Peace, Mike
On 10/20/06, 
Douglas Knudsen [EMAIL PROTECTED] wrote:















  



Ok, I'm starting to work on creating a 'balanced' tree component. I planned to extend UIComponent. Any other suggestions on which class I should extend? Wondering If I could exptend the Tree class and make it work somehow. By 'balanced' tree I mean one where the nodes pile up on center, not alligned right only like Tree.
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

  













-- What goes up, does come down.




-- Douglas Knudsenhttp://www.cubicleman.com
this is my signature, like it?

  













-- What goes up, does come down.

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] balanced tree?

2006-10-20 Thread Michael Schmalle



BTW,In hwat I just wrote, you wouldn't even 'need' to extend the tree if you are not overrding any functionality. If you are just looking for a way to expresss the already present data of the TreeData, then all you would need is the custom item renderer class and;
mx:Tree itemRenderer=my.package.BalancedItemRenderer /Peace, MikeOn 10/20/06, Michael Schmalle 
[EMAIL PROTECTED] wrote:Hi,I would use the Tree. I think I understand what you are trying to accomplish.
Basically you will look at the TreeItemRenderer. If you notice, the disclosureIcon, icon and label are all hard coded left align.
All you would need to do is use the TreeData to get the indent and you could then position the assets wherever you wanted. I don't know what your idea is as to the positioning of the disclosureIcon but, I can see a lot of different ways to layout out the item whild centering the label and icon.
Using the indent property your really could get creative. Just depends what exactly you are trying to accomplish.Peace, Mike
On 10/20/06, 
Douglas Knudsen [EMAIL PROTECTED] wrote:














  



ok, but extend which component in your idea? DKOn 10/20/06, Michael Schmalle 

[EMAIL PROTECTED]
 wrote:


Hi,Seems to me you could do this quite easy with itemRenderers, using indent calculations based off of measured or unscaled witdth.Peace, Mike
On 10/20/06, 
Douglas Knudsen [EMAIL PROTECTED] wrote:
















  



Ok, I'm starting to work on creating a 'balanced' tree component. I planned to extend UIComponent. Any other suggestions on which class I should extend? Wondering If I could exptend the Tree class and make it work somehow. By 'balanced' tree I mean one where the nodes pile up on center, not alligned right only like Tree.
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

  













-- What goes up, does come down.




-- Douglas Knudsenhttp://www.cubicleman.com
this is my signature, like it?

  













-- What goes up, does come down.

-- What goes up, does come down.

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___