going to Java2D
> directly, but I just wanted to make sure since I am still learning of Pivot's
> capabilities and power.
>
> Thanks,
> Cynthia
>
> -----Original Message-
> From: Greg Brown [mailto:gk_br...@verizon.net]
> Sent: Thursday, March 07, 2013 9
What code?
On Mar 7, 2013, at 12:30 PM, "Schwartz, Cynthia L"
wrote:
> Is that code the best (fastest, most efficient...) way to accomplish the
> painting of a custom control in Pivot?
>
> Thanks
> Cynthia
>
> -Original Message-
> From: Greg
paint() is called any time any region of the screen needs to be updated. This
update could be triggered by the application or it could be triggered by the OS
(for example, if an overlapping window is moved).
The graphics context passed to paint() will be clipped to the bounds of the
update reg
t;
>
>
>
>
>
> ---- Original Message
> Subject: Re: pivot + webkit?
> From: Greg Brown
> To: Andrei Pozolotin
> Cc: user@pivot.apache.org
> Date: Thu 28 Feb 2013 11:49:55 AM CST
>> Possibly. But even if the source code becomes public,
nal Message
> Subject: Re: pivot + webkit?
> From: Greg Brown
> To: Andrei Pozolotin
> Cc: user@pivot.apache.org
> Date: Thu 28 Feb 2013 10:28:20 AM CST
>> JWebPane might be helpful if it existed, but unfortunately that work was
>> turned into the JavaFX WebView
niakov/
> https://blogs.oracle.com/geertjan/entry/waiting_for_jwebpane
>
> Original Message
> Subject: Re: pivot + webkit?
> From: Greg Brown
> To: Andrei Pozolotin
> Cc: user@pivot.apache.org
> Date: Thu 28 Feb 2013 09:26:47 AM CST
>>> I am cu
> I am curious if we go "level down" (almost JNI)
> and try to talk to the underlying webkit wrapper for javafx,
> would it be easier to integrate in pivot?
I don't think so. The JavaFX port of WebKit is enormous and complex - not an
easy thing to work with. Also, I think many of those APIs are
9:23 AM, Andrei Pozolotin
wrote:
> re: "Hosting Pivot within JavaFX or vice versa is likely to be difficult. "
> - what is the underlying reason for that?
>
> Original Message ----
> Subject: Re: pivot + webkit?
> From: Greg Brown
> To: user@pivot.apach
Hosting Pivot within JavaFX or vice versa is likely to be difficult. However,
since it is possible to embed both Pivot and JavaFX in a Swing app, maybe you
could create a thin Swing app to host both.
Another option might be to host Pivot within an SWT app and use the SWT browser
widget for your
> Drawing functions of Pivot has been used a little, so in 2.0 they have
> been removed, so now usually it's used SVG via SVGSalamander.
That's true for the shape DOM classes, but you can still perform custom drawing
using the Visual#paint() method. This is generally done in the skin and is how
> If I have an ArryList of person objects, is the only way to display their
> names in a ListView to create an ArrayList of Strings filled with their names
> and pass it to setListData ?
You can use a custom list item renderer for this. See this example:
http://svn.apache.org/repos/asf/pivot/tr
Have you looked at this example?
http://pivot.apache.org/tutorials/table-views.html
It is written in BXML, but it should be pretty easy to figure out what is going
on. If you need to understand how BXML maps to Java, take a look at this
document:
http://pivot.apache.org/tutorials/bxml-primer.h
> This works mostly fine. But if i want to deserialize an Panel-Element,
> df.getDisplay().add(panel) says, that i have to add an window.
That is correct.
> The next problem is, that the added "window" is not affected by resizes
> of the parent component. Is there a way to fix this?
Try setting
> Oh, as we are at it, can I embed a Swing JTextPane to display HTML in a Pivot
> window?
> Or is there any better way to achieve that?
This is not possible. We prototyped a few approaches for doing this a while
back, but none of them worked very well.
Take a look at this example:
http://svn.apache.org/repos/asf/pivot/trunk/demos/src/org/apache/pivot/demos/swing/
On Jun 4, 2012, at 9:52 AM, Michael Stummvoll wrote:
> Hi Pivot Folks,
>
> I want to "embed" a Pivot-Panel into a Swing-Frame/Panel. Whats the
> best way to do that?
>
> The reaso
No, this is not possible.
On May 4, 2012, at 2:28 PM, Andrei Pozolotin wrote:
> Hello;
>
> I am curious is there a way to do dynamic theme switch
> in a running application w/o re-creating all of the components?
>
> Thank you,
>
> Andrei
>
Yes, ListView also supports editors. The Kitchen Sink demo contains an example.
On Feb 20, 2012, at 5:27 AM, Sandro Martini wrote:
> Hi,
>
>> I built a ListView with customized ItemRenderer. In the ItemRender, I have
>> a TextInput field and I want to make it Editable and be able to take user
> a crazy idea come to my mind from what I start to read, it seems that
> WebGL will be more and more present in our future …
FYI - last I checked, Microsoft had not committed to this standard, though that
may have changed.
> It's not clear to me if HTML5 Canvas should be enough
IMO, the bigges
> On IcedTea I get: org.apache.pivot.serialization.SerializationException with
> message: "Script engine for 'javascript' not found.",
I'm guessing IcedTea does not include a JS engine. You could try adding Rhino
to your classpath to see if that helps.
> and on Oracle Java: "org.apache.pivot.be
Since tree data is just composed of nested Lists, you can use any method in the
List interface to modify the structure.
G
On Dec 19, 2011, at 5:05 AM, coder java wrote:
> Hi,
> I just follow the Tree View example in svn .
> I need to update the content dynamically . Any one please give some id
> in my bxml file, I use a Prompt
>
>
> message="%Reallyclosethistab"
> options="['Cancel', 'OK']" selectedOptionIndex="1"/>
>
>
> where all other string I can use % for substitution, except the Cancel and OK.
>
> Is there a way of doing it?
This is a
See ListButtonSelectionListener.
On Dec 8, 2011, at 4:24 AM, V SANTOSH PAVAN RAJU BS
wrote:
> Hi,
> In my application i want o perform some actions based on SelectedItems in a
> ListButton.
> To make it happen can i add a Listener to ListButton, like the we do it for
> PushButtons.
> If you h
You need to put the Form.Label attributes and flags on the BoxPane, not the
Label.
On Dec 6, 2011, at 11:44 PM, Jumbo wrote:
> In the following markup code, the Form field labels are not displayed. When
> Error Flags are set for the fields during validation, the tooltips with
> error messages a
You should be able to build Pivot on a Mac. What is the specific problem you
are encountering?
On Dec 5, 2011, at 2:25 PM, sarahr wrote:
> I'm trying to follow directions to build from the trunk but running into
> issues. Has anyone been through this before?
>
> --
> View this message in con
> Is there any way to handle the JAXB response from Pivot web client?
I haven't used JAXB in a long time, but I don't see any reason why it wouldn't
be possible.
> Is there alternative for this? or we should just stay with JSON object
> between server and client under Pivot.
I personally pref
> Some of the windows don't have their preferred size set - the size depends on
> their contents.
A component does not require a caller to set a preferred size. All components
have a default preferred size. setPreferredWidth() and setPreferredHeight()
allow a caller to override this default siz
The size is 0 because the window has not been laid out yet. Can you perform
your logic based on the preferred size of the window? That is generally the
size it will be given when layout occurs.
On Dec 4, 2011, at 7:02 AM, Piotr Kołaczkowski
wrote:
> Hi,
>
> How to get the size of a window or
It is in ComponentListener.
On Dec 4, 2011, at 7:15 AM, Piotr Kołaczkowski
wrote:
> Hi,
>
> Is there a way to listen to resize events of a window?
> I can't find appropriate methods in WindowListener nor WindowStateListener.
>
> Regards,
> Piotr Kołaczkowski
>
then brings up
> my prompt.
>
> Roger Whitcomb | Architect, Engineering | roger.whitc...@actian.com| Actian
> Corp. | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA |
> +1 650-587-5596 | fax: +1 650-587-5550
>
> From: Greg Brown [mailto:gk_br...@verizon.
In your listener, are you vetoing the close event?
On Dec 2, 2011, at 1:15 PM, Roger L. Whitcomb wrote:
> I need to implement a prompt in my Save As dialogs to confirm if you want to
> overwrite an existing file. So, I try to add a SheetStateListener and begin
> the prompt in there. That all
One way to do this would be to disable your non-editable rows. That way you can
prevent the user from editing them as well as offer a visual cue that the row
is not editable. You can do this by specifying a disabled row filter.
On Nov 22, 2011, at 5:45 AM, David Delbecq wrote:
> Hello,
>
> I
> }
>
> Is it correct ?
> Jérôme Serré
>
> Manage your cellar
> http://www.macave.eu
>
>
> De : Greg Brown [mailto:gk_br...@verizon.net]
> Envoyé : lundi 21 novembre 2011 14:04
> À : user@pivot.apache.org
> Objet : Re: How to
Updating the backing data should automatically update the chart without a
flicker. Can you file a JIRA ticket with a small sample app that demonstrates
the problem?
G
On Nov 20, 2011, at 7:33 PM, Kostas Georgiadis wrote:
> Hello,
>
> I have an application with a LineChartView. The chart data g
to appear on the chart I must "move" by hand. How can I get
> it to refresh automatically ?
>
> Jérôme Serré
>
> Manage your cellar
> http://www.macave.eu
>
>
> De : Greg Brown [mailto:gk_br...@verizon.net]
> En
some others) listen this event :
> public void itemInserted(List list, int index) {
> “Update ChartData”
> }
> Ok, I think, I cannot use the event ?
> Jérôme Serré
>
> Manage your cellar
> http://www.macave.eu
>
>
>
g but none graphics elements are visible on ihm !
>
> Jérôme Serré
>
> Manage your cellar
> http://www.macave.eu
>
>
> De : Greg Brown [mailto:gk_br...@verizon.net]
> Envoyé : vendredi 18 novembre 2011 19:29
> À : user@pivot.apac
> I tested without thread and it works, I use Thread not TaskAdapter or
> ApplicationContext#queueCallback()
> May I keep Thread and use ApplicationContext#queueCallback()
Yes.
> And How to use it ?
Just put the code you want to run on the UI thread in the run() method (same as
SwingUtilities
OK, are you performing the update using TaskAdapter or
ApplicationContext#queueCallback()? If not, that might be the problem.
On Nov 18, 2011, at 10:57 AM, Jérôme Serré wrote:
> yes
>
> Jérôme Serré
>
> Manage your cellar
> http://www.macave.eu
&
You shouldn't need to call repaint() yourself. Are you updating the chart data
in a background thread?
On Nov 18, 2011, at 10:46 AM, Jérôme Serré wrote:
> Hello,
>
> I try to refresh a chartview when a new candlestisk is add. It doesn’t work !
>
> After this code:
>
> ((ValueSeries)this.getCh
> but i cannot use the last node for setting the selection, unless i got the
> new path for the node, which is somehow very tricky :-(
Not sure what you mean. When you add an item to a list, the add() method
returns the index of the new item. So if you add a node to the branch at path
[0][1][2]
By definition, a branch node must be a List. The selected path simply refers to
the last node in the selection.
On Nov 18, 2011, at 4:25 AM, pan peter wrote:
> by using drag and drop, i can move a tree node to be child of another tree
> node. but how to select the dropped tree node after drop?
>
Try:
tableViewHeader.mapPointToAncestor(tableViewHeader.getDisplay());
On Nov 17, 2011, at 4:55 AM, pan peter wrote:
> i need to get the absolute coordinates of a table header. It is a child of
> some box pane, and the box pane is a child of split pane, etc. when i use
> getBounds(), it gives
You get an exception when using a key that does not exist in your bean? It does
seem like that should be OK. I'd expect the column to simply be empty in this
case - not sure about the idea of providing a default property for what might
be considered developer error.
On Nov 16, 2011, at 9:17 AM,
You can just use instances of your bean as your table rows. Just name the
columns according to your bean property names.
FYI, this is not considered "data binding". TableView is considered a
"data-driven" component.
On Nov 16, 2011, at 8:32 AM, jensebhasen
wrote:
> Hi,
>
> I've been looking
Nice!
On Nov 14, 2011, at 9:18 AM, pan peter wrote:
> OK. eventually i got everything works for drag and drop. The trick is I have
> to remove the dragged column, then insert it again with preferred index
>
>TableView.ColumnSequence tc =
> tableViewHeader.getTableView().getColum
Did you try CalendarDate#decode()?
On Nov 12, 2011, at 1:11 AM, pavanraju@gmail.com wrote:
>
>> Actually i need a CalendarButton as one of the cell component in
>> TableView.
>
> TableView can only present data. It can't contain other components. You can
> use a CalendarButton in a table vi
Looks like you are painting your root component into the buffered image in
getRepresentation(). Try painting the TableViewHeader instead.
On Nov 11, 2011, at 11:05 AM, pan peter wrote:
> actually with following code i did manage to drag some thing while press on
> the table header, but it doesn'
> Actually i need a CalendarButton as one of the cell component in TableView.
TableView can only present data. It can't contain other components. You can use
a CalendarButton in a table view editor, though.
Have you tried calling CalendarDate#toString()?
On Nov 11, 2011, at 2:53 AM, V SANTOSH PAVAN RAJU BS wrote:
> In my application i need to convert a CalendarButton type to String type in
> order to save them in DB.
> so please help me in this regard.
>
> --
> Thanks & Regards
> B.S.V.S.
> There's not a whole lot of help, even in the Javadoc, for knowing what
> a Renderer should look like.
You are right, this is a weak point in the documentation.
> I...found the subtle element that, I'm
> guessing, pretty much every Renderer needs to do if it's based on a
> Component:
>
>@
Could this be related to your problem?
https://bugzilla.mozilla.org/show_bug.cgi?id=588455
On Nov 10, 2011, at 10:12 AM, pan peter wrote:
> Hi,
>
> I need to swap table columns as well. i don't really understand what you
> guys talk about here, i made the
>
>tableView = (TableView)
If you want the BXML files to share the same namespace, you need to specify
inline="true" on the include.
On Nov 9, 2011, at 8:00 AM, pan peter wrote:
> i have a big bxml file that contains a lot of stuff. now i want to reduce the
> size of this bxml file, for example, put some menu bar definiti
I see. No, there is no easy way to hide the native window trim.
On Nov 9, 2011, at 4:23 AM, pan peter wrote:
> i have attached a picture. maybe your browser doesn't show that?
>
> There are two titles as Client there, the one outside the frame has
> different font than all text in frame. And I
Not sure what you mean by layer. A screen shot might help.
On Nov 8, 2011, at 5:15 AM, pan peter wrote:
> by using the menu bars example, i created an application. but my frame
> contains two layers with icon and title. i can hide the inner one by set the
>showWindowControls:false
> for the
Again, it depends on the nature of your row. If it is a map, you need to copy
all the key/value pairs. If it is a bean, you need to copy all the property
values.
On Nov 5, 2011, at 6:37 AM, V SANTOSH PAVAN RAJU BS
wrote:
> I have created a tableview and added rows in it by using a List. Now i
> so pivot doesn't provide any interface for this purpose, like which expander
> is closed/open during last session?
No.
> seems RCP has some data that is kept persistent like left/right panel size,
> etc.
RCP is a much broader platform that is built on top of SWT (which is more
analogous to Pi
You can use the standard Java preferences API (java.util.prefs) for this.
On Nov 3, 2011, at 8:43 AM, pan peter wrote:
> for example, if some trees are open during user close the window, next time
> he opens the window, can the application remember last state of the trees,
> then user doesn't ne
TableViews are backed by an instance of List. You can get access to each of the
beans to delete via the get() method, which takes an integer index.
On Nov 3, 2011, at 3:08 AM, V SANTOSH PAVAN RAJU BS wrote:
> I have created a TableView and added rows using a Bean class and inserted
> column ent
I'm using Helios, so from the Helios download site
(http://download.eclipse.org/releases/helios), it is Programming Languages >
Eclipse XML Editors and Tools v3.2.3.
On Nov 2, 2011, at 11:00 AM, pan peter wrote:
> what plugin have you installed to edit bxml?
>
> --
> View this message in con
FWIW, I have generally been pretty happy with the XML support that is built
into Eclipse (though depending on which distribution you installed, you may
need to download and install it separately).
On Nov 2, 2011, at 10:35 AM, pan peter wrote:
> the xmlfox is somehow interesting except it doesn'
How you do this depends on the nature of the data you use to represent a row.
If it is a Map, you can just call get() on the row, passing the key for the
column you want. If it is a bean, you can call the property getter for the
appropriate column.
On Nov 2, 2011, at 9:18 AM, V SANTOSH PAVAN RA
There is no schema for BXML. The valid elements and attributes are defined by
what is currently on your classpath.
It is theoretically possible to generate a schema from a given set of JARs, but
I'm not aware of any tool that does this at the moment.
On Nov 2, 2011, at 9:05 AM, pan peter wrote
> Here when run this pivot application the above mentioned TextInput was
> completely filled with red background color.
> Here i understood, because of the validator it is showing like this. But i
> want to make sure that validation must be done when some event happens
> like. , after i ent
ield with a public
> getter and public setter.
>
> Regards,
> Piotr
>
> W dniu 2011-10-31 15:09, Greg Brown pisze:
>> Sounds like a bug.
>>
>> On Oct 31, 2011, at 9:41 AM, Piotr Kołaczkowski wrote:
>>
>>> Thanks, that works.
>>>
Sounds like a bug.
On Oct 31, 2011, at 9:41 AM, Piotr Kołaczkowski wrote:
> Thanks, that works.
> BTW: Why @BXML doesn't work in unsigned applets, although there is a public
> setter present?
>
>
> W dniu 2011-10-31 14:00, Greg Brown pisze:
>> Try implementing
Try implementing Bindable in your root element and overriding initialize().
On Oct 31, 2011, at 8:46 AM, Piotr Kołaczkowski wrote:
> Thanks, I tried that but the load method is not called. However, the
> constructor of the component is called, and the setter of the property is
> also called.
>
See org.apache.pivot.wtk.validation.
On Oct 31, 2011, at 3:33 AM, V SANTOSH PAVAN RAJU BS wrote:
> I am using apache pivot and i want to know this framework provides any built
> in validators support for validating TextInput components?
>
> --
> Thanks & Regards
> B.S.V.S.Pavan Raju.
> Skype
Put it in a BoxPane and put the BoxPane in the StackPane.
On Oct 28, 2011, at 5:38 AM, pan peter wrote:
> actually now i have to ask another stupid question: how can i set the
> indicator size? after i put it into the stack pane, it covers the whole
> page, no matter i set miximum height, prefe
>
>
> Mark
>
>
>
> Subject: Re: Can't run tutorial demos
> Date: Thu, 27 Oct 2011 17:14:14 -0400
> From:
> To:
> Reply-To: user@pivot.apache.org
>
> I'm using Firefox 7.0.1 on Windows 7 Ultimate.
>
>
> Mark
>
>
>
> Subjec
What OS/browser are you using? It works for me in OS X 10.6.8/Safari 5.1.
On Oct 27, 2011, at 4:59 PM, wrote:
> Hi,
>
>
> Was browsing the Apache Pivot page today and noticed that none of your Applet
> demos seemed to load on my machine. When I open the page in my browser, I
> just get th
tor should have the ability to cancel
> closing the dialog.
>
> Regards,
> Piotr
>
> W dniu 2011-10-27 20:41, Greg Brown pisze:
>> You don't need to do anything special to achieve this. A dialog will close
>> automatically with a result of true when the user presse
You don't need to do anything special to achieve this. A dialog will close
automatically with a result of true when the user presses Enter. It closes with
a result of false when the user presses Escape.
You could use styles to highlight the OK button as the "default".
On Oct 27, 2011, at 2:31
Yes, but you may be better off using a StackPane for this.
On Oct 27, 2011, at 9:26 AM, pan peter wrote:
> now i want a busy indicator, but i don't like a dialog to place the indicator
> on it. can the dialog be transparent so that user only see the indicator?
>
> --
> View this message in cont
> i think it's not good to have a shaddow gray frame behind the login dialog.
Sure - but as I suggested earlier, you don't have to implement it that way. You
could open your main window and show some nice background image while the login
dialog is open. Then when the user logs in, you replace t
I have no idea how Pivot might interact with RCP. It may work, but it was not
designed to support that.
Any reason you can't simply use a Pivot dialog within your main host frame? Is
there a reason you need a native dialog? If so, you may have better luck
implementing your login in AWT or Swing
When you say "Pivot window", do you mean the native application frame that
hosts the Pivot display? If so, this is by design - all Pivot windows are
hosted within a single native frame.
You can open multiple native frames (i.e. multiple displays) using
DesktopApplicationContext#createDisplay().
> Then I pass a null as
> display, then got null pointer exception for display.
You need to pass the display that is passed to your startup() method.
> Even only contains
> these code in start up, it still opens a big pivot window,
Make sure you don't have maximized="true" in your dialog markup
> how to create a dialog without owner?
Don't pass an owner to open().
> when i do it in startup(), it always open a big pivot window, then shows the
> dialog.
Don't open your main window before opening the dialog.
start() would be the right place to do it. Just make sure that the dialog isn't
maximized and has no owner.
Another option is to open your main window first, but not show any content
until the dialog closes.
On Oct 26, 2011, at 8:11 AM, pan peter wrote:
> i need to provide a login page before
I think an additional simple example that demonstrates ListItem and references
other similar classes and renderers would probably be sufficient.
On Oct 24, 2011, at 9:51 AM, Sandro Martini wrote:
>> There is, but how to do it isn't specifically mentioned in the tutorial. You
>> have to look at
There is, but how to do it isn't specifically mentioned in the tutorial. You
have to look at the source code to figure it out.
On Oct 24, 2011, at 9:05 AM, Sandro Martini wrote:
> Hi all,
> if I remember well there sould be something like this even in the
> Kitchen Sink Demo, but sorry I can't l
> val listViewItemRenderer = new ListViewItemRenderer
> listViewItemRenderer.setShowIcon(true)
> triggerSlopeListButton.setItemRenderer(listViewItemRenderer)
>
> For sure, there should be an example of how to do that in the tutorial -
> without looking at the Pivot source code I'd have no idea to
Depends on how you define "contains". The row *is* the data. So if the row is
present, it by definition contains data.
On Oct 19, 2011, at 12:55 AM, V SANTOSH PAVAN RAJU BS wrote:
> Can any one tell me how to test whether a row in a TableView contains data or
> not.
>
> --
> Thanks & Regards
It was a pretty simple fix. We weren't checking the value of the modal flag so
all dialogs behaved as if they were modal.
On Oct 18, 2011, at 3:33 PM, Tomas Stenlund wrote:
> Quick as always, care to enligthen me with what it was ?
>
> Thanks,
>
> Tomas
>
> On 10/17
Also, please subscribe to the user list if you want to see a response.
On Oct 18, 2011, at 10:00 AM, Edvin Syse wrote:
> Please ask your question on the user list, this is not a dev question :)
>
> -- Edvin
>
>> -Opprinnelig melding-
>> Fra: V SANTOSH PAVAN RAJU BS [mailto:pavanraju
>> Did you try opening the dialog with the main frame as its owner? That will
>> ensure that it remains on top of the frame.
> Yes, but then I don't get it to be non-modal even if I use the setModal
> (false) on the dialog. So I can't continue to use the main frames menus and
> buttons. Or am I
> tableView.removeSelectedIndex(rowIndex);
removeSelectedIndex() removes the given value from the list of selected
indexes. It does not remove the item from the model. You can use List#remove()
to do that.
FYI, I'm moving this to the user list since it isn't a dev question - please
make sure y
Did you try opening the dialog with the main frame as its owner? That will
ensure that it remains on top of the frame.
On Oct 16, 2011, at 5:13 AM, Tomas Stenlund wrote:
> I have an Application that creates a Frame containing menues and some
> controls. Nothing fancy. In addition to this I have
If you are using it in a separate app, there should be no problem. However, you
won't be able to combine Pivot 1.x and Pivot 2.x in the same application.
On Oct 6, 2011, at 10:55 AM, Jason Dorsey wrote:
> Very new to java...
>
> At my internship they have an app that uses pivot 1 and I want to
I would recommend using the standard Java preferences APIs (java.util.prefs)
for this.
On Oct 6, 2011, at 12:51 AM, prophe wrote:
> Hi! Can you post an example or share code or give me an advice how to save
> the state of an application? I mean opened tabs, selected tabs, selected
> tree items a
What is the root element? You can just add a keyboard listener to that (via
getComponentKeyListeners().add()).
On Oct 5, 2011, at 12:37 AM, Adarsh Y.V wrote:
> hi
> this my java file for a simple bxml page for setting destination folder
> during installation.
> can someone show a sample to ad
I'm not aware of any performance tests comparing JFX2 to Pivot.
G
On Oct 5, 2011, at 12:27 AM, Brendan cheng wrote:
>
> Hi,
> How do you compare the latest JavaFX with Pivot?Do you have any performance
> test with it?
> Regards,
> Brendan
There is no built-in way to do this. Easiest thing to do is attach a keyboard
listener to the button's container or another ancestor and handle the shortcut
key presses there.
On Oct 2, 2011, at 10:59 PM, Adarsh Y.V wrote:
> How can we enable key board short-cuts (if mouse is not present) for b
The simplest way to do this is probably to attach a decorator to the header
that draws the line.
On Oct 3, 2011, at 3:13 AM, prophe wrote:
> And now I want to paint the bold line on the filter that is under mouse
> cursor while dragging and a narrow under the filter. Looking like on the
> pictur
There is no built-in way to do this. Easiest thing to do is attach a keyboard
listener to the button's container or another ancestor and handle the shortcut
key presses there.
On Oct 2, 2011, at 10:59 PM, Adarsh Y.V wrote:
> How can we enable key board short-cuts (if mouse is not present) for b
Glad you figured it out. I misunderstood the issue so my suggestion wouldn't
have worked anyway.
On Oct 3, 2011, at 12:04 AM, prophe wrote:
> How can I do that? Now my column picture when I try to drag look like:
> http://apache-pivot-users.399431.n3.nabble.com/file/n3389036/rty.jpg
> As you ca
You can either call Display#getHostWindow() and set the size on that or pass
--width and --height command-line arguments to your app.
On Oct 3, 2011, at 2:58 AM, pan peter wrote:
> i made a window based on the menu bars example, but i cannot change the
> window size with either set size or set
You'll probably want to translate to the coordinates of the header rather than
the origin coordinates.
On Oct 1, 2011, at 1:58 AM, prophe wrote:
> I've replaced graphics.translate(-headerBounds.x, -headerBounds.y);
> And the problem with black rectangle is resolve. But When I try to move
> secon
> I try to do:
>
> @Override
> public Visual getRepresentation() {
> Picture picture = null;
> if (selectedIndex!=-1){
> Bounds headerBounds = getHeaderBounds(selectedIndex);
> BufferedImage bImg = new
> BufferedI
> @Override
> public Visual getRepresentation() {
> Picture picture = null;
> if (selectedIndex!=-1){
> Bounds headerBounds = getHeaderBounds(selectedIndex);
> BufferedImage bImg = new
> BufferedImage(headerBounds.
1 - 100 of 1933 matches
Mail list logo