Why isn't DataGroup and IVisualElementContainer?

It seems that the DataGroup is missing some important features that the Group has, such as addElement/removeElement, and it seems like it almost just grabs some random methods from IVisualElementContainer as it needs them (getElementAt, getVirtualElementAt).
if you don't want people to manually "addElement" in the datagroup, you could just throw an error, but have a reference to the "player version" with $addElement.  But having that extra functionality is important for adding more support for other types of graphics in the DataGroup.
I would like to extend the functionality of DataGroup so it can support full 3D, but I need to use addElement-like functionality, so it seems like putting the Group IVisualElementContainer code into GroupBase would be a good thing.
Please let me know if you what you think.
Lance

The methods in DataGroup are the "read-only" methods out of IVisualElementContainer, which Group and a few other classes implement.  These methods/getters are getElementAt(), getElementIndex(), and numElements.  It is not intended for someone to be able to use the "read-write" methods of IVisualElementContainer (addElement, removeElement, etc...) on a DataGroup.
DataGroups are meant for the sole purpose on rendering data items in to visual elements.  Explaining your use-case might help figure out what would be the best way to do it and if we should modify DataGroup to help support the use-case.
Also, there is no player version of addElement.  There's only addChild, and there is a $addChild method you can use to access the player version of it, though it's not reccomended to do that with either Group or DataGroup because they internally make assumptions that they own their own display list.
-Ryan

Similar Messages

  • Why isn't pages and keynote free anymore

    why isn't pages and keynote free anymore ? it was free about a month ago ?

    Today I was in the Apple Store here in Munich and had my first bad experience with Apple.
    When I talked to one of the employees and asked how I can get the free Pages for my MacBook Pro he interrupted me and said: "I don't know." When I tried to explain that it was listed in the App Store app in Mavericks and it is not there anymore in Yosemite, he interrupted me again and was quite harsh: "I can't help you. Call Apple Care, that's what they are there for."
    Maybe it was my fault. He had to stop a chat with a female co-worker because of a customer. That was not nice of me.
    As I don't want to pay 29 €/$ just to ask where Apple has hidden the gratis Pages software, I will take part in a Pages Workshop and hope I can get help there.

  • Why isn't Netflix and youtube playing videos on my ipad

    Every time i try to watch a video on Netflix or youtube it wont play. The videos wont load. I tried using the apps and safari and google chrome but no videos will play this first happened yesterday.

    Try a reset: Simultaneously hold down the Home and On buttons until the iPad shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the iPad back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray before doing the reset.
    Also, make sure your internet connection is working.

  • Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.

    Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.

    1) The best way to relocate the iTunes library folder is to move the entire iTunes folder with all subfolders to the new path, then press and hold down shift as start iTunes and keep holding until prompted to choose a library, then browse to the relocated folder and open the file iTunes Library.itl inside it.
    If you've done something different then provide some more details about what is where and I should be able to help.
    2) Purchases on the device should automatically transfer to a Purchased on <DeviceName> playlist, but it my depend a bit on whether automatic iCloud downloads are enabled. If there is a cloudy link then the transfer might not happen. You can use File > Devices > Transfer Purchases. In iTunes you should also check out iTunes Store > Quick Links > Purchased > Music > Not on this computer.
    3) Backup the device, then immediately restore it. In some cases you need to add a restore as new device into that equation. Obbviously not to be attempted until you're sure all your media is in your library. See Recover your iTunes library from your iPod or iOS device should it be needed.
    4) I believe there is complimentary 1 incident 90-day support with hardware purchases, but no free software support for iTunes itself. AppleCare gets you a different level of support.
    tt2

  • TS1398 Got the dreaded no wifi on my wife's iPhone 4S. Wifi greyed out and no luck with the reset network instructions. Why isn't Apple addressing this issue? We are a family of Apple product users, 2 ipads, an ipad mini, 4 iPhones but one isn't working!

    Got the dreaded no wifi on my wife's iPhone 4S. Wifi greyed out and no luck with the reset network instructions. Why isn't Apple addressing this issue? We are a family of Apple product users, 2 ipads, an ipad mini, 4 iPhones but one isn't working! Issue began whenwe upgraded the operating system.....
    Come on Apple.....get this issue sorted out!

    Just out of warranty. This is a software issue. everything was ok until the software update. Apple just need to sort it out.

  • I have been trying for an hour to delete all of the photos from my iphone5.  Can't do it, except for 1 at a time.  I can't even connect it to my PC and delete them from my computer.  Why isn't this easy and intuitive?

    I have been trying for an hour to delete all of the photos from my iPhone 5.  I have googled it several times and there doesn't seem to be a solution.  Have tried deleting them from my PC. One at a time deleting is impractical - I have 1000 photos!  Why isn't this easy and intuitive?

    When you hooked up to your PC did they attempt to import? Had you imported them previously and not deleted when the import was complete?
    If you have to delete them directly on your device, you need to press the select button and just keep selecting until you have all of them selected, then put them in the trash.
    You do not need to select one then trash it, then select another then trash it. You can select as many as you like before clicking on the trash icon.
    Cheers,
    GB

  • I have windows vista home premium and all other versions of iTunes worked on my laptop iTunes 10 won't work, I get a message saying I'm not connected to the Internet when I am. Why isn't iTunes recognizing my browser configuration?

    I have windows vista home premium and all other iTunes worked on my laptop, I downloaded iTunes 10 and now the iTunes will not connect to the Internet. I use Mozilla firefox on my laptop and for some reason it keeps saying the connection timed out and I'm not connected to the Internet when I am. Why isn't iTunes recognizing my web configuration?

    It probably has to do with your security and/or browser configuration.
    When my laptop crashed last year and I had to get a new one, I dealt with the same thing. First, go to your control panel and select the security section. See if your firewalls are up or not. If they are, turn them off. If you have any software to speed up your browser, that can affect the connection as well. Go into that software and disble/turn it off. If this doesn't work, contact customer support. They have a few other tricks they had me try that worked, but I can't remember them now.

  • Why isn't "Find My iPad" automatically enabled on the device when purchased? Why is it a feature that is OFF and has to be turned ON instead of the other way around? I didn't know it needed to be enabled and now it's stolen and I can't locate it

    Why isn't the "Find My iPad", "Find My Mac", etc. feature not automatically enabled in the iCloud Settings on every device? My iPad was stolen a couple days ago and it's been showing Offline under "Find My iPhone" feature so I started doing some research. Come to find out "Find My iPad" has to be enabled under the PRIVACY button in SETTINGS. I never knew that!!! That feature is highly needed for Apple products so can some explain why it's not already enabled on every device and actually has to be turned ON from the OFF position and not the other way around? Now some lucky person has stolen my iPad and I can't locate it because Apple wanted to give me the choice to enable it once it was already ******* stolen!

    Simply stated that is design. If you want to suggest a change, there is a feedback section elsewhere on this site.
    Barry

  • Why isn't my ipod and iphone not connecting to my new laptop on my itunes that i have downloaded

    I do not understand why my ipod and iphone not connecting to my new laptop that I got for Christmas. It did for a while and now its not. My itunes is up to date and so is my phone and ipod. Why isn't my itunes finding/syncing my ipod and iphone?!

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or               
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests

  • Whenever I go to preview a song in itunes, the song with play out for about 10 seconds and then stop. Why isn't the song previews working? How can I fix this? I tried updating my itunes and it didn't work.

    Whenever I go to preview a song in itunes, the song with play out for about 10 seconds and then stop. Why isn't the song previews working? How can I fix this? I tried updating my itunes and it didn't work. I use windows 7. Thanks!

    Try:                           
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • I just hooked up Internet at my house today and I'm trying to connect to it on my IPhone and IPad but neither are connecting. My grandma's Android phone is connected and is working just fine. Why isn't any of my apple products working?

    I just hooked up Internet at my house today and I'm trying to connect to it on my IPhone and IPad but neither are connecting. My grandma's Android phone is connected and is working just fine. Why isn't any of my apple products working?

    Since you give no clue as to what make/model/version WiFi router you are using or how you have it configured it's hard to comment.
    Look here for some WiFi troubleshooting advice http://www.apple.com/support/ipad/wifi/.

  • I just installed FF, and I want a SIMPLE way to copy all my bookmarks. Why isn't there a menu item to do this? The need seems OBVIOUS!

    I simply want to make a copy of all of my wife's "Favorites", i.e. your Bookmarks. In FireFox, PrntScrn won't do it, Windows "Snippets" won't do it, and any HELP answers I've seen are hidiously complex. The need/desire to have a paper copy or Word copy of her bookmarks (of course, WITH URL's) seems completely, blatantly obvious. Why all the secrecy? Why isn't there a MENU item to make a copy of the list of Bookmarks??
    And no, I'm not going to try AGAIN, AGAIN, AGAIN to do the Export/HTLM solution, whatever that means. Sheesh. I'm 10 minutes into FireFox and I'm ready to go back to I.E.

    So you are trying to import bookmarks from IE?
    * [[Import Bookmarks from Internet Explorer]]
    Or export to IE?
    * [[Export bookmarks to Internet Explorer]]

  • TS2289 I updated iMovie and now why isn't there any audio when I import movies from my Sony camera?

    I updated iMovie and now why isn't there any audio when I import movies from my Sony camera?

    What version of iMovie?
    What camera?

  • Why isn't there a chart with ios, mac os and itunes compatibily?

    Since there are so many people who have been screwed over by upgrading to a newer ios without knowing that they would need a different version of iTunes that can only work with a newer Mac os, but their computer cannot run that os, so now they are out of luck, WHY isn't there a chart somewhere that shows the compatibility between ios, itunes, Mac os and even Mac computer versions? The info is available if you search for it separately (lots of searches), but I can't find it all in one place. For example, ios7 works only with itunes 11.1 and up on 10.6.8 and up on an intel Mac. That is really useful for people who want to make sure their whole infrastructure is compatible before they upgrade. Does anyone know if something like this exists anywhere? Thanks.

    sbwinter2 wrote:
    Some of the most useful guides are usually made by users
    I'm sure some people would be very grateful if you went ahead and did the work.
    Best of luck.

  • Just updated my photoshop cc and wanted to try out the new focus selection tool but it's not there.  Why isn't it there?

    Just updated my photoshop cc and wanted to try out the new focus selection tool but it's not there.  Why isn't it there?

    Use menu Help>About Photoshop make you have started CC 2014 and have not started CC... Its in menu Select under Color range

Maybe you are looking for

  • How to connect my new Nokia 1110i with my windows ...

    i have recently purchased nokia 1110i. to download sceeensavers, and ringtones i was told that i could connect my phone with usb cable CA 42. i bought that cable but dont know how to connect the phone and the pc. please help. thanks in advance

  • Family sharing is not allowing purchases from other parent phone

    Hi, My husband and I both have iphone 5S with IOS 8 on them. He has set up Family sharing as the organizer I am the Parent. His account has always been the main one we have purchased from. My question is that we thought with Family Sharing, once ever

  • FCP Memory issue on a new MBP

    I just bought a new 17" macbook pro with 4gb of ram. It's only a few days old. I'm having an issue with final cut pro 6 while trying to render or compress a file. Over the course of a few minutes, It transfers all of my memory from free to inactive m

  • Forms / reports 11.1.1.2

    Does anyone know whether a forms and reports server 11.1.1.2 will run forms and reports compiled to 11.1.1.1? Thanks, Chris

  • Oracle 91 application server instalation

    i am trying to load oracle 9i on my system windows NT/95 from cd drive.i am getting a error message "invalid stage location.there atre no high level components available for windows 98 at this location". help me in this regard null