JucK file

From CSWiki
Jump to: navigation, search

version 3

see JucK_Doc.

version 2

TITLE 
[layout]
(depends on layout)

if [layout] is "panels"

NUM_ROWS NUM_COLUMNS
SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation] [width] [height]
CHECKBOX [title] [number of items] [list of items...] [orientation]
RADIOBUTTON [title] [number of items] [list of items...] [orientation]
DROPDOWN [title] [number of items] [list of items...]
TEXTFIELD [title] [width]
TWODCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation]
TWODGRID [title] [number of rows] [number of columns] [rows names] [column names] [orientation]

if [layout] is "manual"

WIDTH HEIGHT NUM_ITEMS
SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation] [x] [y] [width] [height]
CHECKBOX [title] [number of items] [list of items...] [orientation] [x] [y] 
RADIOBUTTON [title] [number of items] [list of items...] [orientation] [x] [y] 
DROPDOWN [title] [number of items] [list of items...] [x] [y] 
TEXTFIELD [title] [width] [x] [y] 
TWODCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation] [x] [y] 
TWODGRID [title] [number of rows] [number of columns] [rows names] [column names] [orientation] [x] [y] 
  • [title] - unique to the element (string)
  • [min] - min value (int)
  • [max] - max value (int)
  • [initial] - initial value (int)
  • [interval] - distance between ticks (int)
  • [snap] - whether to snap to tick (bool)
  • [orientation] - horizontal or vertical (string).
    • For the TwoD items, this determines whether the checkboxes get arranged Left-Right in rows (horizontal), or Top-Bottom (vertical). Also determines label placement
  • [x] - horizontal distance of this element from the left border of the overall window
  • [y] - vertical distance of this element from the top border of the overall window
  • [width] - width of subpanel (only for slider)
  • [height] - height of subpanel (only for slider)

version 1

TITLE 
NUM_PANELS
NUM_ROWS NUM_COLUMNS
SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation]
CHECKBOX [title] [number of items] [list of items...] [orientation]
RADIO [title] [number of items] [list of items...] [orientation]
LISTBOX [title] [number of items] [list of items...] [orientation]
  • [title] - unique to the file
  • [min] - min value (int)
  • [max] - max value (int)
  • [initial] - initial value (int)
  • [interval] - distance between ticks (int)
  • [snap] - whether to snap to tick (bool)
  • [orientation] - horizontal or vertical (string)