Package org.apache.pivot.wtk
Class Display
- java.lang.Object
 - 
- org.apache.pivot.wtk.Component
 - 
- org.apache.pivot.wtk.Container
 - 
- org.apache.pivot.wtk.Display
 
 
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Container
Container.EDTChecker 
- 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Component
Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary 
- 
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence
Sequence.Tree<T> 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Display(ApplicationContext.DisplayHost displayHost) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddescendantAdded(Component descendant)protected voiddescendantRemoved(Component descendant)ApplicationContext.DisplayHostgetDisplayHost()FocusTraversalPolicygetFocusTraversalPolicy()java.awt.WindowgetHostWindow()voidinsert(Component component, int index)Inserts an item into the sequence at a specific index.voidrepaint(int x, int y, int width, int height, boolean immediate)Flags an area as needing to be repainted.voidsetLocation(int x, int y)Sets the component's location.protected voidsetParent(Container parent)protected voidsetSkin(Skin skin)Sets the skin, replacing any previous skin.voidsetTooltipText(java.lang.String tooltipText)Sets the component's tooltip text.voidsetVisible(boolean visible)Sets the component's visibility.- 
Methods inherited from class org.apache.pivot.wtk.Container
add, assertEventDispatchThread, assertEventDispatchThread, clear, containsFocus, descendantGainedFocus, descendantLostFocus, get, getComponentAt, getContainerListeners, getContainerMouseListeners, getDescendantAt, getGraphics, getLength, getNamedComponent, indexOf, invalidate, isAncestor, isDoubleBuffered, iterator, layout, load, mouseClick, mouseDown, mouseMove, mouseOut, mouseUp, mouseWheel, move, paint, remove, remove, removeAll, requestFocus, setDoubleBuffered, setEventDispatchThreadChecker, setFocusTraversalPolicy, store, transferFocus, update 
- 
Methods inherited from class org.apache.pivot.wtk.Component
checkSkin, clearFocus, contains, copyStyle, copyStyle, getAncestor, getAncestor, getAttribute, getAutomationID, getBaseline, getBaseline, getBounds, getComponentClassListeners, getComponentDataListeners, getComponentDecoratorListeners, getComponentKeyListeners, getComponentListeners, getComponentMouseButtonListeners, getComponentMouseListeners, getComponentMouseWheelListeners, getComponentStateListeners, getComponentStyleListeners, getComponentTooltipListeners, getCursor, getDecoratedBounds, getDecorators, getDisplay, getDragSource, getDropTarget, getFocusedComponent, getHeight, getHeightLimits, getLocation, getMaximumHeight, getMaximumWidth, getMenuHandler, getMinimumHeight, getMinimumWidth, getMouseLocation, getName, getNamedStyles, getParent, getPreferredHeight, getPreferredHeight, getPreferredSize, getPreferredWidth, getPreferredWidth, getScreenBounds, getSize, getSkin, getStyle, getStyle, getStyleBoolean, getStyleBoolean, getStyleColor, getStyleColor, getStyleFont, getStyleFont, getStyleInt, getStyleInt, getStyles, getTextInputMethodListener, getTooltipDelay, getTooltipText, getTooltipWrapText, getTypedStyles, getUserData, getVisibleArea, getVisibleArea, getVisibleArea, getWidth, getWidthLimits, getWindow, getX, getY, indexBoundsCheck, installSkin, isBlocked, isEnabled, isFocusable, isFocused, isMouseOver, isOpaque, isPreferredHeightSet, isPreferredSizeSet, isPreferredWidthSet, isShowing, isValid, isVisible, keyPressed, keyReleased, keyTyped, mapPointFromAncestor, mapPointFromAncestor, mapPointToAncestor, mapPointToAncestor, mouseOver, offsetToScreen, putStyle, putStyle, reenterMouse, repaint, repaint, repaint, repaint, repaint, scrollAreaToVisible, scrollAreaToVisible, setAttribute, setAutomationID, setAutomationID, setCursor, setDragSource, setDropTarget, setEnabled, setFocused, setHeight, setHeightLimits, setHeightLimits, setLocation, setMaximumHeight, setMaximumWidth, setMenuHandler, setMinimumHeight, setMinimumWidth, setName, setPreferredHeight, setPreferredSize, setPreferredSize, setPreferredWidth, setSize, setSize, setStyleName, setStyleNames, setStyleNames, setStyles, setStyles, setTooltipDelay, setTooltipWrapText, setWidth, setWidthLimits, setWidthLimits, setX, setY, toString, transferFocus, validate 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
Display
public Display(ApplicationContext.DisplayHost displayHost)
 
 - 
 
- 
Method Detail
- 
getDisplayHost
public ApplicationContext.DisplayHost getDisplayHost()
 
- 
getHostWindow
public java.awt.Window getHostWindow()
 
- 
setSkin
@UnsupportedOperation protected void setSkin(Skin skin)
Description copied from class:ComponentSets the skin, replacing any previous skin. 
- 
setParent
@UnsupportedOperation protected void setParent(Container parent)
 
- 
setLocation
@UnsupportedOperation public void setLocation(int x, int y)
Description copied from class:ComponentSets the component's location. NOTE This method should only be called when performing layout. However, since some containers do not reposition components during layout, it is valid for callers to invoke this method directly for such containers.- Overrides:
 setLocationin classComponent- Parameters:
 x- The component's horizontal position relative to the origin of the parent container.y- The component's vertical position relative to the origin of the parent container.
 
- 
setVisible
@UnsupportedOperation public void setVisible(boolean visible)
Description copied from class:ComponentSets the component's visibility.- Overrides:
 setVisiblein classContainer- Parameters:
 visible-trueif the component should be painted;false, otherwise.
 
- 
setTooltipText
@UnsupportedOperation public void setTooltipText(java.lang.String tooltipText)
Description copied from class:ComponentSets the component's tooltip text.- Overrides:
 setTooltipTextin classComponent- Parameters:
 tooltipText- The component's tooltip text, ornullfor no tooltip.
 
- 
repaint
public void repaint(int x, int y, int width, int height, boolean immediate)Description copied from class:ComponentFlags an area as needing to be repainted. 
- 
insert
public void insert(Component component, int index)
Description copied from interface:SequenceInserts an item into the sequence at a specific index. 
- 
descendantAdded
protected void descendantAdded(Component descendant)
- Overrides:
 descendantAddedin classContainer
 
- 
descendantRemoved
protected void descendantRemoved(Component descendant)
- Overrides:
 descendantRemovedin classContainer
 
- 
getFocusTraversalPolicy
public FocusTraversalPolicy getFocusTraversalPolicy()
- Overrides:
 getFocusTraversalPolicyin classContainer- Returns:
 - This container's focus traversal policy.
 
 
 - 
 
 -