|
| ScrollControl (CtrlTabView tabCtrl, DBase window) |
|
| ScrollControl (int w, int h) |
|
ScrollableArea | getScrollableArea () |
|
void | setCanvasSize (int w, int h) |
|
float | getScale () |
|
void | setScale (float scale) |
|
void | setScale (int scale) |
|
Rectangle | getVisibleArea () |
|
void | mouseClicked (int mouseX, int mouseY, Rectangle visibleArea) |
|
void | mousePressed (int mouseX, int mouseY, Rectangle visibleArea) |
|
void | mouseReleased (int mouseX, int mouseY, Rectangle visibleArea) |
|
void | mouseMoved (int mouseX, int mouseY, Rectangle visibleArea) |
|
void | mouseDragged (int mouseX, int mouseY, Rectangle visibleArea) |
|
void | mouseEntered (int mouseX, int mouseY, Rectangle visibleArea) |
|
void | mouseExited (int mouseX, int mouseY, Rectangle visibleArea) |
|
DWindow | getWindowComponent () |
|
DBase | getSelected () |
|
void | setSelected (DBase comp, Rectangle compRect) |
|
|
static final Color | BACKGROUND = new Color(128, 0, 0) |
|
static final Color | FOREGROUND = new Color(255, 220, 220) |
|
static final Font | FONT = new Font("Dialog", Font.BOLD, 10) |
|
static final int | DELTA_Y = 11 |
|
static final int | DELTA_X = 10 |
|
static final int | HORIZONTAL = 0 |
|
static final int | VERTICAL = 1 |
|
static final int | THICKNESS = 20 |
|
static final int | TICK_SIZE = 4 |
|
static int | gridSize = 4 |
|
static boolean | showGrid |
|
static boolean | snapToGrid |
|
|
int | areaH |
|
DBase | window = null |
|
DBase | selected = null |
|
int | startY |
|
int | deltaY |
|
|
int | HANDLE_SIZE = 6 |
|
int | OVER_NONE = 0x00000000 |
|
int | OVER_COMP = 0x00000200 |
|
int | OVER_HORZ = 0x00000201 |
|
int | OVER_VERT = 0x00000202 |
|
int | OVER_DIAG = 0x00000203 |
|
int | MOVED = 0x00010001 |
|
int | RESIZED = 0x00010002 |
|
int | LEFT = 0x00000000 |
|
int | RIGHT = 0x00000001 |
|
int | CENTER = 0x00000002 |
|
int | TOP = 0x00000000 |
|
int | BOTTOM = 0x00000001 |
|
int | MIDDLE = 0x00000002 |
|
int | NORTH = 0x00000000 |
|
int | SOUTH = 0x00000001 |
|
int | EAST = 0x00000002 |
|
int | WEST = 0x00000003 |
|
int | TEXT_ONLY = 0x00000000 |
|
int | ICON_ONLY = 0x00000001 |
|
int | TEXT_AND_ICON = 0x00000002 |
|
BasicStroke | stdStroke |
|
BasicStroke | selStroke |
|
BasicStroke | needleStroke |
|
BasicStroke | heavyStroke |
|
BasicStroke | dashed |
|
Color | DASHED_EDGE_COLOR = new Color(32,32,32,128) |
|
Color | csdrBack = new Color(0,0,0, 8) |
|
Color | csdrBorder = new Color(0,0,0, 32) |
|
Color | csdrSlideBack = new Color(220, 220, 220) |
|
Color | csdrSlideBorder = new Color(64, 64, 64) |
|
Color | csdrThumb = new Color(255,255,0) |
|
Color | winBack = new Color(240,240,240) |
|
Color | winEdge = new Color(160,160,160) |
|
GUI control encapsulating a ScrollableArea object.
The actual scrollable display must be created from a class that inherits from ScrollableArea.
- Author
- Peter Lager
void g4p.tool.gui.tabview.ScrollControl.setScale |
( |
float |
scale | ) |
|
void g4p.tool.gui.tabview.ScrollControl.setScale |
( |
int |
scale | ) |
|
The documentation for this class was generated from the following file:
- /Users/peter/git/g4ptool-repos/G4P_Tool/src/g4p/tool/gui/tabview/ScrollControl.java