Using the new ListView
I'm replacing an old home-made component with the ListView. Works fine, but for two things:
1. it seems to ignore the height bound (and gets way too tall)
2. I don't undersand how to customize the rendering of each cell; by default I see the object.toString(), but I need to render a slightly more complex cell with an icon and two rows. I expected to see something as a "itemCellFactory", but I don't. I hope I don't have to rewrite a new Skin from scratch!
Edited by: Fabrizio.Giudici on Jun 2, 2009 1:06 PM
Fabrizio.Giudici wrote:
I'm replacing an old home-made component with the ListView. Works fine, but for two things:
1. it seems to ignore the height bound (and gets way too tall)If you are using the ListView in a layout (eg VBox) then you will need to setup the LayoutInfo, eg:
ListView{
layoutInfo: LayoutInfo{
// Set the preferred width
width: 80
// Set the preferred height
height: 40
}I am not sure what you mean by the ListView gets too tall since the control is set to a default height, and width anyway. Do you mean the default height for the ListView is set too high?
2. I don't undersand how to customize the rendering of each cell; by default I see the object.toString(), but I need to render a slightly more complex cell with an icon and two rows. I expected to see something as a "itemCellFactory", but I don't. I hope I don't have to rewrite a new Skin from scratch!At this stage with JavaFX you will need to create a custom ListView unfortunately. Josh has a [good example|http://jfxstudio.wordpress.com/2009/06/20/a-custom-virtual-list/] of one that may be useful to you.
Similar Messages
-
Photoshop CC: How do I use the "New 3D Extrusion" feature on a text layer?
I have a (text) layer selected, and I need to use the New 3D Extrusion tool to work on it, but when I go to the option for it, it's grayed out and I can't click it!
I have one layer selected (and it isn't locked). When I right-click the layer, "New 3D Extrusion" doesn't appear, so I have to click the Select tab at the top, in order to see New 3D Extrusion. It was there, but I couldn't select it! What am I missing?Yeah i think it might be because of my drivers :/
-
When I use the new Pages app. On my IPod to type documents, I can't open them on my new computer. It sends me a message that I have to download a newer version of pages to see the Pages document. When I try to do that it tells me all my apps are up to date and will not allow me to upgrade the pages on my iMac.
Any suggestions?What level of OS X is installed on your Mac (your profile is incomplete)?
Barry -
I am trying to use the new iwork beta tools on iCloud. I currently have 10.8.4 OSX on my iMac and 6.0.5 version of Safari, but when I try to open documents on my iphone in the cloud it tells me my browser isn't supported
Note that iWork for iCloud is only designed for PCs and Macs > http://support.apple.com/kb/HT5779
To access to your iWork documents on the iPhone, install Keynote, Numbers or Pages from the App Store -
Can I use the new Time Capsule to backup my mid 2010 Macbook Pro? Also can I want to free up my hard disk, can I save my photos and files on the time capsule and later access through wifi?
Can I use the new Time Capsule to backup my mid 2010 Macbook Pro?
Yes, if you are asking about using Time Machine to backup the Mac.
Also can I want to free up my hard disk, can I save my photos and files on the time capsule and later access through wifi?
You are not thinking of deleting the photos and files on your Mac, are you? If you do this, you will have no backups for those files.
Another concern is that Time Machine backs up the changes on your Mac. At some point, Time Machine will automatically delete the photos and files from the Time Capsule.....you just don't know when this might occur.
In other words, only delete files from your Mac that you can afford to lose. -
Can I use the new Apple Thunderbolt to Firewire adapter to download video from a video camera by firewire to my Macbook Air ?
Yes, you can use the 85 watt adaptor. You cannot use the new adaptors because your computer is not equipped with the proper MagSafe connector. But you can use the older MBP adaptors as well as a 60 watt replacement adaptor. All can be found at Apple's Online Store.
-
My old mac was requested to upgrade Firefox to 14.0.1. After the sucessfully installation, I received a message saying my old Mac couldn't use the new Firefox and Safari crashes. I have NO browser now! Any help would be appreciated.
Hmmm... So you upgraded Firefox and now neither Firefox or Safari will work? Very weird. I have no idea what might have gone wrong. That said, when things start acting wierd, I always try a bit of maintenance first. About 95% of the time, I luck out and it works.
I use the free program Onyx. I run all the clean up routines. Then I boot to the recovery partition (Lion) or the OS X Install Disc and repair permissions and verify/repair the hard disk.
Hope this helps. -
I share a macbook with my other half and we both use it for our iphones. When syncing using the new software I now have all of her and my contacts on my phone. I don't want her contacts! How do I get rid?
Hi,
You have 2 solutions:
1 - You can use 2 differents icloud account
2 - You use the same account but you don't sync yours contacts.
You configure that in Settings > icloud
You activate or desactivate what you want.
Have a nice day. -
My macbook came with a 60 watt magsafe charger with the white magnetic tip. It crapped out on me and now need to buy a new one but everyone says it uses a 85 watt which is false since i bought it new and the 60 watt charger came in the sealed box.
1. If I buy the 85 watt will it damage my macbook pro?
2. can I use the new magsafe charger with the new aluminuin tip with my macbook pro?
Look below in red is the proof
15-inch Configurations
Enclosure
Precision aluminum unibody
Processor
2.53GHz Intel Core 2 Duo
2.66GHz Intel Core 2 Duo
2.8GHz Intel Core 2 Duo
L2 cache
3MB shared
3MB shared
6MB shared
System bus
1066MHz
1066MHz
1066MHz
Memory
4GB (two 2GB SO-DIMMs) of 1066MHz DDR3 SDRAM; supports up to 8GB
Hard drive4
250GB Serial ATA; 5400 rpm
320GB Serial ATA; 5400 rpm
500GB Serial ATA; 5400 rpm
Slot-loading optical drive
8x SuperDrive (DVD±R DL/DVD±RW/CD-RW)
Graphics
NVIDIA GeForce 9400M graphics processor with 256MB of DDR3 SDRAM shared with main memory3
NVIDIA GeForce 9600M GT graphics processor; and NVIDIA GeForce 9400M graphics processor with 256MB of DDR3 SDRAM shared with main memory3
Graphics memory
256MB GDDR3
512MB GDDR3
Video
Built-in iSight camera; Mini DisplayPort output port with support for DVI, VGA, and dual-link DVI (requires adapters, sold separately)
Display
15.4-inch (diagonal) LED-backlit glossy widescreen display, 1440-by-900 resolution
Expansion
One FireWire 800 port (up to 800 Mbps), two USB 2.0 ports (up to 480 Mbps), SD card slot
Audio
Built-in stereo speakers, built-in omnidirectional microphone, combined optical digital input/analog line in, combined optical digital output/analog line out
Networking
Built-in 10/100/1000BASE-T (Gigabit) Ethernet
Wireless
Built-in AirPort Extreme Wi-Fi (based on IEEE 802.11n draft specification)2; built-in Bluetooth 2.1 + EDR (Enhanced Data Rate) module
Hardware accessories
60W MagSafe Power Adapter, AC wall plug, power cord
85W MagSafe Power Adapter, AC wall plug, power cord
Limited warranty
and service
Your MacBook Pro comes with 90 days of free telephone support and a one-year limited warranty. Purchase the AppleCare Protection Plan to extend your service and support to three years from your computer’s purchase date. Only the AppleCare Protection Plan provides you with direct telephone support from Apple technical experts and the assurance that repairs will be handled by Apple-authorized technicians using genuine Apple parts. For more information, visit Apple support or call 800-823-2775.
Apple and the global
environment
Learn more about Apple’s dedication to reducing the environmental impact of our products and processes. The Apple Product Environmental Specification details the environmental attributes of our products.
Recycling
Apple takes a holistic view of materials management and waste minimization. Learn more about how to recycle your Mac.Yes, you can use the 85 watt adaptor. You cannot use the new adaptors because your computer is not equipped with the proper MagSafe connector. But you can use the older MBP adaptors as well as a 60 watt replacement adaptor. All can be found at Apple's Online Store.
-
I have Iphone 4s, and the phone will activate itself again. This I have verified, but when I shall put this onto my phone, so the phone will not approve the newusername and password. How do I get changed Apple ID on my phone so that I get using the new username and password that is verified? Silly to buy a new phone just for this .... The phone is almost three years old. How long can weexpect this to last? I would like an answer as soon as possible ... Thank you very much.
It sounds like your device might be in Activation Lock. Is it asking your to enter in an Apple ID & password, but only showing you the first letter of the email address and then some dots? Example: j•••••@icloud.com?
If so, do you recognize that email? Do you have an Apple ID that fits the same format? If so, then go to www.cloud.com, log in with that Apple ID & password, and see if under Find My iPhone it shows this device. If so, turn off the device, then remove the device from the list. -
Using the New Mac Pro (can) - AE will not let me use Race Traced 3-D
Using the New Mac Pro (can) - AE will not let me use Race Traced 3-D
Hi, I'm using the new Mac Pro
2.7 GHz 12-core Intel Xeon E5
64 GB 1867 MHz DDR3
AMD FirePro D700 6144 MB
OSX 10.9.2
I'm using After Effects 12.2.1.5
When I attempt to invoke the race trace 3D renderer in a comp, I get this error
"After Effects Error: Ray-traced 3D: Out of paged mapped memory for ray tracer. Your project may exceed GPU limits. Try closing other applications. Try updating the CUDA driver. (5070::2)"
My preferences are set to use the CPU for Raytraced 3D since I do not have an Nvidia card.
So, obviously there is an issue here in that it thinks I have an Nvidia card.
I know (or assume I know) the cause for this is that when I set up this machine, I used Apple's migration assistant to move most of my data over from the previous gen Mac Pro which DID have a CUDA card.
So my question is, what files can I delete/reset to cause After Effects to no longer look for CUDA files that do not exist on this machine?
I do not have the CUDA control panel in System Prefs, so THAT did not carry over.
Any ideas would be appreciated, thanks!> I know (or assume I know) the cause for this is that when I set up this machine, I used Apple's migration assistant to move most of my data over from the previous gen Mac Pro which DID have a CUDA card.
Ugh. That causes so many problems.
The first thing to try is deleting the CUDA frameworks from your Mac: Look in /Library/Frameworks for the CUDA.Framework and get rid of it. -
I used to use CS5 and I want to use the Acrobat version on my new iMac.
How can I find my serial number for Adobe Acrobat 11. I don't want to use the new version at £18.00 per month. I don't need it. Thank youHi Anthony Aduhene
Please refer : Find your serial number quickly -
I can't use the old Apple id and Apple password on my new Iphone 6 - I can use the new ones. But I can't access the cloud in the meantime. The iTunes and App Stire has the new Apple ID, but I can't get into the settings to change it on the iCloud. It asks for the Old Apple ID and password, which doesn't work. Does anyone know how to change the old Apple ID on the iPhone in the settings for the iCloud?
First, try the new password. If you didn't sign out of iCloud prior to changing the primary email address of your Apple ID, this is what can cause this problem.
Also, read this: If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support -
How can I attach an image without the image is in the email body? (using the new mail the Lion)
I want in attachment, not in the body mail.I think your only solution is to zip the image files first and then attach them.
Read this from a site I found:
Sending Graphical Attachments -- When you attach a graphical image to your message, the recipient of your message sees the image inline (that is, in the body of the message) if her email client supports inline display. ("Take Control of Email with Apple Mail" contains a table listing the capabilities of popular Mac and PC email clients.) If a client does not support inline display (or the recipient has turned off the inline display option), the file appears as an attachment that must be opened in a separate program.
On the one hand, an inline image is easier for the recipient to see - all she has to do is look at it. On the other hand, inline images can be frustrating to scroll through. If you do not wish to send a graphical image inline, you must compress the file before attaching it - Mail, sadly, lacks a built-in compression option, though fortunately for Panther users, the Finder offers Zip compression without requiring a separate application.
Note that when you compose a new message, Mail always shows attachments in the body of your message. You can manually drag them somewhere else, but many email clients display all attachments in a separate list, regardless of where you place them in the message body.
If you paste an image into a message or drag & drop an image from another window (say, a Web browser), Mail converts the raw image data to an attachment in TIFF format. On the other hand, if you drag & drop the icon of an image file (or use the Attach button to locate the file using the file browser), Mail leaves the attached image in its original format. This difference is significant, because although most email clients can display JPEG images just fine, support for TIFF - especially in non-Mac email clients - is less common. If possible, I suggest attaching image files as opposed to pasting or dragging in raw image data. -
I have two pnones on my account...my iPhone 4 and my wife's crappy old Samsung. I pre-ordered an iPhone 4S and plan to give my iPhone 4 to my wife and I will use the new 4S. How do I switch the 4 to her number once I make the switch to a new 4S?
Just call yur provider and they will set it up with you.
This is what I do, when I get a new iphone and give mine to my wife.
Maybe you are looking for
-
So here's an interesting one... I have just updated iOS on my iPhone and it came up with the activation prompt. I entered my iCloud email and password and it told me that my account was disabled for security purposes. This happens quite regularly as
-
Where can i download drivers for windows 7
I own a Pavilion dv6910ea which I bought august 2008. It is currently running on windows vista. But I have got a authentic copy of windows 7 proffesional and want to install it on my laptop. But I cant seem to find and drivers. Can I still use the vi
-
I've just started to develop on a Mac and can't find help in Flex 3-- where is it?
-
Way to generate sql*loader ctl file from a table?
I'm an oracle newbie. (Oracle 8i, HP Unix)Is there any way to take an existing table description and generate a sql*loader control file from it? If anyone has already written a procedure or knows where one can be found I'd really appreciate it. We're
-
Date Format changes in the Reporting side..
Hi friends, I have one date field that is Keyfigure (not a Time charecterstic) ...now i want to display date in DD- MON - YYYY format... but up to modelling side my date format is DD.MM.YYYY..... i dont want to change in modelling side.. because.. th