Possible to mix renderers and editors?

Currently, I have an Accordion with a number of data grids
that contain different information. Items can be dragged from any
of the grids to a common grid outside the accordion, whereby the
drag/drop handler populates the target grid with appropriate data
that represents where it came from.
Here's what I need to do now:
This common grid contains a "quantity" column. Depending on
the type of data that was dropped into the grid, this value may or
may not be editable. When it is editable, it may be limited to a
upper limit that is determined from a data item that was dragged
with it, or it may not have an upper limit at all. I want to render
the current value as a normal number. For quantities that cannot be
edited, clicking on the value should not open it to edit (I have
that much). For values that have a defined limit, I want a numeric
stepper to appear with the defined limits. For values that have no
upper limit, I want a text input field to appear.
How do I approach this?

You'll have to make use of the itemEditBegin event and
manually create your item editor depending on the data. There's
some info here:
http://livedocs.macromedia.com/labs/1/flex20beta3/00000880.html

Similar Messages

  • Is it possible to mix italic and non-italic fonts in an axis label?

    Is it possible to mix italic and non-italic fonts in an axis label in diadem reports?

    No, there is no chance to do this.
    You can only use the "Textobjekt" to mix italic and non-italic fonts.
    Thanks
    Klaus D

  • JTable - help with custom cell renderers and editors

    I've got myself into a bit of a mess with cell renderers and editors.
    I've got a custom component that wants displaying in a column and then hand over all functionality to this component when you start editing it.
    Now how I went out about this was to create a custom cell renderer that extends this component and implements TableCellRenderer.
    I then created a table cell editor that extends AbstractCellEditor and implements TableCellEditor and this cell editor creates a new component when it's initialized. I then use setCellEditor(new MyCellEditor()) on the column and setCellRenderer(new MyCellRenderer()).
    This works slightly but I'm wondering how this is all implemented.
    When I set the cell editor on it's own it seems to be sharing a reference to the single component that's being used which means that if you edit one cell all the cells get changed to the new value.
    Thanks for the help,
    Alex

    only a few forums are actually browsedAnd theSwing forum is one of the most active. Did you search it for editiing examples? I've seen many editing examples posted in a SSCCE format.
    SSCEE is also impossible as the functionality spans over about 10 classes We did not ask for your application, we asked for a SSCCE. The whole point of a SSCCE is to simplify the 10 classes into a single class and maybe an inner class for the editor to make sure you haven't made a silly mistake that is hidden because of the complexity of your real application.

  • Renderers and Editors

    Can anyone please send me some tutorial links to understand the concept of Renderers and Editors in Java Swing.

    A good starting point is [url http://java.sun.com/docs/books/tutorial/uiswing/components/components.html]here. Lists, combo boxes, tables and trees all have renderers/editors so follow the link for the appropriate component.

  • Possible to mix SAS and SATA in S10?

    The S10 I purchased has the 146GB SAS drive attached to the LSI controller.  I see in the hardware reference manual that there are spare SATA ports on the main board.  Can I mix SAS and SATA drives on this machine if I am *not* using them in a RAID array?  Does the fact that the SAS and SATA are likely to have different rotational speeds mean that I need to be worried about vibration/stability issues?
    Solved!
    Go to Solution.

    SAS and SATA can definitely coexist.   rotational speeds won't matter as the drives are harmonically dampened in their trays.   in fact, i have three 15,000 RPM SAS drives sandwiching two 7200 RPM SAS drives in my D10 and can't feel any vibration in any of them.   i've also hot-plugged SATA hard drives onto the intel controller with no issues.
    ThinkStation C20
    ThinkPad X1C · X220 · X60T · s30 · 600

  • Solaris 10 u11 : Is it possible to mix IPMP with vertual network interface

    Hi
    I have a system with 4 Ethernet interfaces , I'd like to try to have virtual network interface on two of them . then configure IPMP between each two.
    - Is it possible to mix IPMP and VNIC ?
    - online , I found posts about having vnic on solaris by creating additional interface file (ex, /etc/hostname.bge0:1 ) and also the IPMP create such interface?
    - How can I know which IPMP version installed on the system ? and how to know I'm reading the right configuration guide?
    - on what basis should i choose the type of IPMP for my system (Link-based or Probe-based)
    Thanks in advance
    HEBA

    Hi.
    IPMP can coexist with VNIC.
    IPMP - part of Solaris. So you not need check version of IPMP. Just read Docs for Solaris.
    http://docs.oracle.com/cd/E23823_01/html/816-4554/ipmptm-1.html#scrolltoc
    It's not clear what Vnic you plan use. Is it VLAN or just additional IP on interface ?
    For test address of IPMP you should configure interface like bge0:1 with additional options.
    Regards.

  • Mixing anamorphic and letterboxed footage

    Is it possible to mix anamorphic and letterboxed DV footage in Final Cut?
    I have a project that was shot on both formats.
    How should I proceed?
    Thanks.

    And, if I need to, can I convert the final video to true 16x9 anamorphic, so it'll play full screen on a 16x9 monitor or theater screen?
    Yes, but it will look like crud. This question gets asked a bunch so there are lots of responses out there explaining why this will be the case.
    Oh, and if I need to convert the whole video to 4x3 full screen for intranet distribution, is it possible too? Thanks.
    Yes, cropping and/or reducing the size for internet or intranet distribution can be accomplished using Compressor or QTPro.
    Good luck.
    x

  • Mix formCalc and javascript in same event?

    Hi Folks,
    I have a bunch of formCalc and Javasript I'm trying to merge (two different forms, different programmers).   Is it possible to mix javascript with formCalc in the same field event?   If so, how?
    thanks!

    No, it is not possible to mix FormCalc and JavaScript in the same event. You will get run-time errors.
    Steve

  • Mixing music and audio books

    Is it possible to mix music and audio books on the same iPod and yet shuffle the music but not include the audio books when playing? If so how do I do it?
    New long battery life NANO
      Windows XP  

    You can right-click on an audiobook, choose Get Info,
    and checkmark "Skip when shuffling" on the Options
    tab. This is not necessary on true audiobook files
    (.aa, .m4b), as those are skipped automatically, but
    it's useful for mp3 files.
    As my 4 year old dog used to say, "Well, I knew that!"
    Thanks Craig!

  • Mix published and unpublished events in one calendar?

    Just got an iPhone.
    Is there a way to mix published and unpublished events in one calendar?
    I've heard that other calendar software have this option.
    With iCal on a Mac it's possible to choose which calendars to view, so then it's not a problem to have one published and one unpublished calendar.
    But with iCal on iPhone you can only choose between viewing ONE and ALL calendars.
    I subscribe to a bunch of other peoples calendars, so viewing ALL is never an option..
    So now I would like to write all my events, published and private, into ONE calendar. Is that possible?
    Anyone?

    Yes. I tried changing the setting to Sync All Events (instead of the time limited sync) and let it refresh. No change. No display
    I also tried rescheduling the event by one hour on the same day (no other changes), then save. No change. No display.
    I ended up deleting the events and re-entering them, with identical information (including the recurring end date, remarks, etc., you name it), and then the events appeared like the rest of them in the same calendar.
    I'd still like to know if there is a solution to the original problem. I'm still concerned that other events, maybe in the other calendar as well, are no appearing and it's impossible to rely on a sample or to verify every event.
    Thanks for your assistance.

  • Mix ECCS and FI data in Report Painter

    Is it possible to mix data from ECCS and FI modules in one report, using Report Painter?
    Thanks,
    Nuno Barros

    In the change report screen in GRR2 go to menu
    Formating--> report layout
    There in the rows tab select the radio button, Print Zero rows
    and in the columns tab select Print Zero columns radio button,
    hope this should solve the problem
    Thanks
    Naveen

  • Mixing public and private networks on the same switch

    Hello Everyone,
    I know this may get some security engineers in frenzy but wanted to know if there is a safe way to mix public and private networks on the same switch. 
    We have many remote offices that we want to add public wifi and a couple of other services that would be completely outside of our internal network.  Each office has a 3750 with plenty of open ports.  How can I safely create a vlan for public access on these switches which currently have our internal network on.  I have read that people are doing this to save on the cost of purchasing a dedicated switch.  Some people are using access lists and one person mentioned creating a private vlan for the public network.  I looked up private vlan and it seemed bit confusing.
    Is this recommended?  If not what would be the safest way to do this?
    Thanks Everyone

    Disclaimer
    The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.
    Liability Disclaimer
    In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.
    Posting
    How "safe" is relative.  If your running just one VLAN on a switch, that's would be the safest (basically the same as mixing traffic on the same wire - separation is done else where).
    If you multiple VLANs on a switch, then you need to determine how likely someone might figure out a way to breach the VLAN barriers.  (This isn't so easy on newer switches.)  If the VLAN isolation is breeched, then you need to examine what does that imply from a security perspective (for example can someone now inject or receive other VLAN traffic).
    For most purposes, I don't see mixing public and private VLANs, alone, on the same switch as much of a risk.  More of a concern is what can be reached on either VLAN and how well it's protected.

  • Is it possible to add (C) and your name to a picture?

    Is it possible to add (C) and your name to a picture in iPhoto?

    You will need to use a 3rd party image editor, Preview or a watermarking application.  3rd party editors can be configured to work from inside iPhoto as can Preview.  Preview can add text via its Annotation capability and is alread on your Mac.
    Some Image Editors That Support layers:
    Photoshop Elements 11 for Mac - $79
    Rainbow Painter - $30
    Imagerie - $38
    Acorn - $50
    Pixelmator - $60 
    Seashore - Free
    Portraits and Prints - Free
    GIMP for Mac - Free
    Xee 2.1 - free
    For watermarking applications go to MacUpdate.com and search for "watermark" to get a list of potential candidates.
    OT

  • [CS4] Best way to mix HD and SD?

    Hey guys, had some fantastic reading here that's done me a lot of good. Hopefully someone can help me out here.
    Here's the scoop - I'm working on a documentary, and we're currently trying to find the best way to mix HD and SD footage so that it's best presentable. Everything was shot on DV/HDV, so before we waste all the time capturing just to find out there are better ways to go about it, we wanted to see what others have done. Essentially, our narrative clips (think Masterpiece Theatre) are shot in HD, and we're using a lot of still images at a high enough resolution to work in HD. Only thing is, a lot of our interview clips are shot in SD, but in 16:9 so at least aspect ratio is the same.
    What would be the best way to go about this for consistent video quality? Would you recommend capturing everything in its native format, upscaling the SD footage as best as possible and exporting as HD? Bringing down the quality of the HD footage upon capture and just editing/exporting everything as SD? If you'd recommend upscaling, any advice on how to go about that? Appreciate all the help!

    Curt,
    I have never beaten him, though I do try often. Job well done!
    Now, if that lottery ticket is the big winner, the forum will suffer, as you head off to spend your $'s.
    Hunt
    PS - I agree with you both.

  • Mixing 60 and 24p footage in sequence

    I have just bought a panasonic GH2 camera and see that it doesn't shoot 720 24p which I usually shoot in. 720 only shoots 60 fps, would have to jump up to 1080pa to get 24 fps.on both cameras.
    Is it possible to mix frame rates within a sequence....I think not? as I would like to keep shooting 720p 24 with the Panasonic HVX200.
    In the event that i do have to use 1080p on both cameras, what is with the P and the Pa setting, was warned by Shane Ross that times would be bad if Iimported the wrong settings...I. think I have to upress when importing tp FCP.
    thanks
    Catherine

    Then shoot 24fps 1080p on your DSLR. You can easily drop that onto a 720p 24 fps timeline as the framerates will match, and FCP will automatically resize the 1080 frame to the 720 format. By editing a larger frames size source on to a smaller framesize timeline, you will also gain the ability to reframe and recrop your source footage on the timeline without degrading the image.
    Try it.
    MtD

Maybe you are looking for

  • Can't print to PDF in CS2

    I have just gotten a new laptop and moved my CS2 over to it. Everything works fine except I cannot print to a pdf like I used to. I can save as a pdf, but when I print to Adobe pdf, the printer icon pops up in the system tray. When I click on it, the

  • How do I scroll through my whole music library?

     

  • Transaction key UMB determined on transaction MB1A

    Hi experts, I'm having a problem with a goods movement via transaction MB1A. When trying to move material, an error message is displayed with the information that the account does not exist in the chart of accounts. The account in question is configu

  • Problem importing ARIA PEOPLE APP in HTMLDB 2.0

    Hi, I am trying to install the ARIA application in HTMLDB but when I run the script I get the following error: wwv_flow_api.create_install ( ERROR at line 187: ORA-06550: line 187, column 14: PLS-00302: component 'CREATE_INSTALL' must be declared ORA

  • A color that's impossible on the web?

    I'm mostly a print and photography person, so I have a theory about what's going on here, but in practice, I'm SOOOO stumped! Can anyone help? I have a logo, designed in Illustrator. It uses two flat spot colors (A pantone color and a Toyo color). Th