Package javaforce.webui
Class Container
java.lang.Object
javaforce.webui.Component
javaforce.webui.Container
- Direct Known Subclasses:
Block,Canvas,CheckBox,HTMLContainer,InlineBlock,LayersPanel,LayoutManager,Media,MenuBar,MenuItem,Panel,PopupMenu,ProgressBar,Slider,Table,TitleBar
-
Nested Class Summary
Nested classes/interfaces inherited from class javaforce.webui.Component
Component.Event -
Field Summary
Fields inherited from class javaforce.webui.Component
ArrayType, attrs, AUTO, backclr, borderclr, BOTTOM, CENTER, classes, client, clr, DRAG_EW, DRAG_MOVE, DRAG_NESW, DRAG_NS, DRAG_NWSE, events, height, HIDDEN, HORIZONTAL, id, LEFT, name, parent, RIGHT, SCROLL, styles, TOP, VERTICAL, VISIBLE, width, x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd component at index.voidAdd component to end of components.intcount()voidevents()Perform any post loading events.get(int idx) Get Component by id.getAll()getComponent(String name) Get Component by user assigned name.html()Returns HTML to render component.voidinit()Perform any initialization with the client.voidremove(int idx) voidvoidvoidvoidsetClient(WebUIClient client) Provides the client (connection to web browser side) and init other variables.Methods inherited from class javaforce.webui.Component
action, addActionListener, addAttr, addChangedListener, addClass, addClickListener, addEvent, addKeyDownListener, addKeyDownListenerPreventDefault, addKeyUpListener, addKeyUpListenerPreventDefault, addLoadedListener, addMouseDownListener, addMouseEnterListener, addMouseMoveListener, addMouseUpListener, addMovedListener, addResizedListener, addValidateListener, addVisibleListener, click, decode, dispatchEvent, enableDragging, encode, getAttrs, getBackColor, getBorderColor, getClient, getColor, getEvents, getHeight, getID, getName, getParent, getProperty, getStyle, getTopParent, getWidth, getX, getY, hasAttr, hasClass, hasStyle, initInvisible, isPopup, isVisible, onChanged, onClick, onDrawRect, onDrawRect, onEvent, onKeyDown, onKeyUp, onLoaded, onMouseDown, onMouseEnter, onMouseMove, onMouseUp, onPos, onPosSize, onSize, removeAttr, removeClass, removeStyle, requestPos, requestPosSize, requestSize, sendData, sendEvent, sendOnResize, setAlign, setAutoHeight, setAutoWidth, setBackColor, setBorder, setBorderColor, setBorderGray, setClass, setColor, setDisabled, setFlex, setFocus, setFontSize, setHeight, setMaxHeight, setMaxWidth, setName, setPosition, setProperty, setReadonly, setSize, setStyle, setVerticalAlign, setVisible, setWidth, toString, validate
-
Constructor Details
-
Container
public Container()
-
-
Method Details
-
setClient
Description copied from class:ComponentProvides the client (connection to web browser side) and init other variables. -
init
public void init()Description copied from class:ComponentPerform any initialization with the client. Containers should call init() on all sub-components. -
events
public void events()Description copied from class:ComponentPerform any post loading events. Containers should call events() on all sub-components. -
getComponent
Get Component by user assigned name. -
get
-
get
Get Component by id. -
getAll
-
set
-
add
Add component to end of components. -
add
Add component at index. -
remove
-
remove
public void remove(int idx) -
removeAll
public void removeAll() -
count
public int count() -
html
Description copied from class:ComponentReturns HTML to render component.
-