Class: TitleFrame

LuxModule: gui

TitleFrames are containers with an initial skin. Following skinnames are being used:

  1. titleframe
  2. titleframe_hover
  3. ...

Hierarchy

o-+ Component
  o-+ Container
    o-+ TitleFrame

Methods:

new (table class, int x,y,w,h,[Skin2D skin],[string title])
returns: (TitleFrame)
creates a container with the given bounds. If no skin is given the default skin for frames is being used.
setTitle (TitleFrame,text)
returns: (TitleFrame)
sets titlecaption
setTitleAlign (TitleFrame,align)
returns: (TitleFrame)
sets titlecaption alignment. Can be either Skin2D.ALIGN.LEFT, Skin2D.ALIGN.RIGHT or Skin2D.ALIGN.CENTERED or a number for the absolute x coordinate.

Inherited Methods:

From Container

add, components, delete, deleteChilds, doLayout, getComponentAt, getRootContainer, invalidate, isChildOf, isRootContainer, mouseEvent, moveZ, new, onDisplayChange, onVisibilityChange, removeChildren, removeComponent, setBounds, toString, validate

From Component

acceptSkinBounds, addKeyListener, addMouseListener, addTooltipListener, clipinsets, colors, contains, createVisibles, delete, deleteVisibles, fadeTo, focus, focuscolors, getBottom, getBounds, getClipRect, getFocusComponentAt, getFocusElement, getFocusIndex, getHeight, getLocation, getMinSize, getMouseLock, getMouseLockPos, getParent, getRight, getSize, getSkin, getTooltip, getWidth, getX, getY, hasFocus, hideVisibles, index, invalidate, isClipped, isDisplayedFlag, isFocusable, isMouseLocker, isVisible, isVisibleFlag, keyEvent, keylisteners, local2world, lockMouse, mouseClicked, mouseEntered, mouseEvent, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheeled, mouselisteners, moveToRect, new, newFocusOrder, onDestroy, onDisplayChange, onGainedFocus, onLostFocus, onVisibilityChange, positionUpdate, remove, removeKeyListener, removeMouseListener, removeTooltipListener, setBounds, setClip, setColor, setDefaultUI, setDisabled, setDisplayable, setFont, setLocation, setSize, setSkin, setTooltip, setVisibility, showTooltipInformation, showVisibles, skinnames.defaultskin, skinnames.focusedskin, skinnames.hoveredskin, skinnames.pressedskin, think, toString, transferFocus, transferFocusOnArrows, transferFocusOnTab, unlockMouse, updateSkin, validate, validateFocus, white, world2local, zorderoffset