• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with clip area occurred when table content is transited  RSS feed

Naight Naight
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Platform: JavaFX 1.2.1.
Hi all
Preface: I created my own table because the cell content should be not standart: buttons, progress bars, etc...and text as well.
There is no standart decision for this and simple there is no table control in JavaFx as well (swing JTable in a SwingComponent wrap
doesn't fix the problem - only combo box, check box, text box can be placed into a cell). So, I did the following: I created a sequence
of instances of the Group class. Each instance represents one cell of the table. I put a rectangle (Rectangle class) as a cell visualization
and other controls(buttons, progress bars, text, etc. as a cell content) to each Group instance (cell). All cells in the sequence are located
in rows and columns as in a usual table. and I put this sequence of cells to one common Group. The whole area of all rows and columns is large
so I use the clip variable of the Group class (common Group) and two scrollbars (vertical and horizontal) to transit the rows and
columns. It's simple thing as in a usual table.
Problem description: when I transit a thumb of a scrollbar (whatever horizontal or vertical) part of each border cells appear out of common
Group clip area, i.e. that part of each border cell (as on the left, rigth side of the clip area for horizontal scrollbar so as on the top, botton
side of the clip area for vertical scrollbar) that should be disapeared is appeared over other GUI controls located near this table. I tried to
use ClipView - the problem is reproduced as well. Screenshot here:
Initial state:
Screenshots with bugs:

Help please.
Thanks in advance!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!