类 GridView
java.lang.Object
polaris.sdk.ui.Widget
polaris.sdk.ui.controls.ListBox
polaris.sdk.ui.controls.GridView
-
字段概要
从类继承的字段 ListBox
doubleClick, glass, hoverRow, items, padding, rowGap, rowHeight, scroll, selected, selection, visualScroll修饰符和类型字段说明protected IntConsumerprotected booleanprotected intprotected floatprotected floatprotected floatprotected floatprotected intprotected IntConsumerprotected float从类继承的字段 Widget
ax, ay, change, children, click, clip, clipChildren, contextMenu, enabled, focusable, h, hovered, id, parent, pressed, text, tooltip, ui, visible, w, x, y修饰符和类型字段说明protected floatprotected floatprotected Rectprotected booleanprotected PopupMenuprotected booleanprotected booleanprotected floatprotected booleanprotected Stringprotected Widgetprotected booleanprotected Stringprotected Stringprotected Uiprotected booleanprotected floatprotected floatprotected float -
构造器概要
构造器 -
方法概要
从类继承的方法 ListBox
contentBounds, glass, glass, hasScrollbar, items, items, items, layoutChildren, maxScroll, onDoubleClick, onSelection, padding, padding, paintScrollbar, rowBounds, rowGap, rowGap, rowHeight, rowHeight, select, selectedIndex, selectedItem, viewportHeight修饰符和类型方法说明Absolute logical content viewport; useful for consistent custom list renderers.booleanglass()glass(boolean value) Disable only the list's own surface.booleanitems()protected voidprotected floatfloatpadding()padding(float value) Equal outer insets on all four sides.protected voidrowBounds(int index) Actual shown row, including continuous scroll animation.floatrowGap()rowGap(float value) floatrowHeight(float value) Row pitch includes the row gap.voidselect(int index) intprotected float从类继承的方法 Widget
absoluteX, absoluteY, activate, add, appear, attach, beginPositionDrag, bounds, canFocus, centered, changed, childClip, children, clear, clipChildren, clock, contains, contentClipRadius, context, contextMenu, corner, corners, corners, draw, drawFocus, enabled, enabled, find, focusable, focused, follow, glassPart, height, hit, hover, hoverAmount, hovered, id, id, ink, label, layout, motion, motion, offsetX, offsetY, onChange, onClick, paintOverlay, parent, popContentClip, pressAmount, pressTransform, pushContentClip, radius, radius, rect, remove, resetPress, smoothPosition, snapMotion, stateSurface, surface, text, text, theme, tooltip, tooltip, ui, visible, visible, width, x, y修饰符和类型方法说明floatfloatvoidactivate()appear()voidGrab an already moving widget at its shown location rather than at its old target.bounds(float x, float y, float w, float h) booleancanFocus()protected voidvoidchanged()protected Rectchildren()voidclear()clipChildren(boolean b) protected doubleclock()booleancontains(float px, float py) protected floatThe same outline used by this widget's own glass surface, only for its descendants.corner(Corner corner, BezierCorner value) corners()corners(CornerRadii value) final voidvoidbooleanenabled()enabled(boolean value) focusable(boolean b) booleanfocused()protected floatprotected voidglassPart(Painter p, float xx, float yy, float ww, float hh, float radius, float tintExtra, int tintColor, float colorMix, float blur) floatheight()hit(float px, float py) voidhover(boolean value) protected floatbooleanhovered()id()protected intink()protected voidfinal voidprotected floatprotected floatprotected floatoffsetX()protected floatoffsetY()protected voidparent()protected final voidprotected floatprotected booleanprotected final voidradius(float all) radius(float topLeft, float topRight, float bottomRight, float bottomLeft) Four independent cubic corner radii, clockwise from the top left.rect()voidvoidsmoothPosition(boolean value) Position follows its target while rendering and hit testing use the same shown geometry.protected voidsnapMotion(String key, float value) protected voidstateSurface(Painter p, float selected, float prominence) protected voidtext()protected Themetheme()tooltip()ui()booleanvisible()visible(boolean value) floatwidth()floatx()floaty()
-
构造器详细资料
-
GridView
public GridView()
-
-
方法详细资料
-
columns
-
contentHeight
- 覆盖:
contentHeight在类中ListBox
-
ensureVisible
- 覆盖:
ensureVisible在类中ListBox
-
paint
-
event
-