• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with clip area occurred when table content is transited

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
http://foto.nnov.ru/psh500/0/86/51/e1/4e/a0/ae/0bd8ef7ebf233614.png
Screenshots with bugs:
http://foto.nnov.ru/psh500/0/f8/1c/28/77/b5/79/f53bbc4fd8ba8158.png
http://foto.nnov.ru/psh500/0/3a/95/c3/6c/0e/4f/9aff2e16a544bb37.png

Help please.
Thanks in advance!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic