Uses of Class
com.threerings.opengl.gui.Component

Packages that use Component
com.threerings.opengl.gui User interface classes. 
com.threerings.opengl.gui.config GUI configurations. 
com.threerings.opengl.gui.layout   
com.threerings.opengl.gui.text   
com.threerings.opengl.gui.util   
com.threerings.tudey.client.sprite   
 

Uses of Component in com.threerings.opengl.gui
 

Classes in com.threerings.opengl.gui with type parameters of type Component
 class ScrollingList<V,C extends Component>
          Provides a scrollable, lazily instantiated component view of values
 

Subclasses of Component in com.threerings.opengl.gui
 class Button
          Displays a simple button that can be depressed and which generates an action event when pressed and released.
 class ChatOverlay
          A chat display for use as a HUD element.
 class CheckBox
          Displays a label with a check-box button next to it.
 class ColorPicker
          Allows the selection of a single color from a set of swatches.
 class ComboBox
          Displays a selected value and allows that value to be changed by selecting from a popup menu.
 class CommandButton
          Deprecated. Just use Button.
 class Container
          A user interface element that is meant to contain other interface elements.
 class DecoratedWindow
          A top-level window with a border, a background and a title bar.
 class EditableTextComponent
          Extends TextComponent with mechanisms shared by editable text Components.
 class Label
          A simple component for displaying a textual label.
 class List
          Displays a list of selectable entries and fires an ActionEvent when the selected value changes.
 class MenuItem
          Displays a single menu item.
 class PasswordField
          A derivation of TextField that does not display the actual text, but asterisks instead.
 class PopupMenu
          Displays a popup menu of items, one of which can be selected.
 class PopupWindow
          A window that is popped up to display something like a menu or a tooltip or some other temporary, modal overlaid display.
 class RenderableView
          Displays an embedded 3D view.
 class ScrollBar
          Displays a scroll bar for all your horizontal and vertical scrolling needs.
 class ScrollButton
          Displays a scroll button for all your horizontal and vertical scrolling needs.
 class ScrollingList<V,C extends Component>
          Provides a scrollable, lazily instantiated component view of values
 class ScrollPane
          Provides a scrollable clipped view on a sub-heirarchy of components.
 class Slider
          Displays a track with a little frob somewhere along its length that allows a user to select a smoothly varying value between two bounds.
 class Spacer
          Takes up space!
 class Spinner
          Displays a value with little next and previous buttons.
 class StatusLabel
          Provides a convenient component for displaying feedback.
 class StretchWindow
          A window that automatically stretches to cover the entire render surface.
 class TabbedPane
          Displays one of a set of components (tabs) depending on which tab is selected.
 class TextArea
          Displays one or more lines of text which may contain basic formatting (changing of color, toggling bold, italic and underline).
 class TextComponent
          Defines methods and mechanisms common to components that render a string of text.
 class TextEditor
          A multiline text-editing widget.
 class TextField
          Displays and allows for the editing of a single line of text.
 class ToggleButton
          Like a Button except that it toggles between two states (selected and normal) when clicked.
 class UserInterface
          A user interface component configured from a resource.
 class UserInterfaceWindow
          A window that contains a user interface.
 class Window
          A window defines the top-level of a component hierarchy.
 

Methods in com.threerings.opengl.gui with type parameters of type Component
<C extends Component>
C
UserInterface.getComponent(String tag, Class<C> clazz)
          Returns a reference to the first component registered with the specified tag and implementing the specified class or interface, or null if there are no such components.
<C extends Component>
Iterable<C>
UserInterface.getComponents(String tag, Class<C> clazz)
          Returns the Components registered with the specified tag.
 

Methods in com.threerings.opengl.gui that return Component
static Component Component.createDefaultTooltipComponent(GlContext ctx, String tiptext)
          Creates a tooltip component of the default form with the default style.
static Component Component.createDefaultTooltipComponent(GlContext ctx, String tiptext, ConfigReference<StyleConfig> tipstyle)
          Creates a tooltip component of the default form.
 Component ScrollPane.getChild()
          Returns a reference to the child of this scroll pane.
 Component Container.getComponent(int index)
          Returns the indexth component from this container.
 Component UserInterfaceWindow.getComponent(String name)
          A shortcut method for retrieving a component registered by name from the interface.
 Component UserInterface.getComponent(String tag)
          Returns a reference to the first component registered with the specified tag, or null if there are no such components.
 Component Root.getFocus()
          Returns the component that currently has the focus, or null.
 Component Component.getFocusTarget()
          Returns the component that should receive focus if this component is clicked.
 Component ScrollBar.getHitComponent(int mx, int my)
           
 Component Container.getHitComponent(int mx, int my)
           
 Component Component.getHitComponent(int mx, int my)
          Returns the component "hit" by the specified mouse coordinates which might be this component or any of its children.
 Component ChatOverlay.getHitComponent(int mx, int my)
           
 Component TabbedPane.getSelected()
           
 Component TabbedPane.getSelectedTab()
          Deprecated. 
 Component TabbedPane.getTab(int idx)
          Returns the tab at the specified index.
 

Methods in com.threerings.opengl.gui that return types with arguments of type Component
 Iterable<Component> UserInterface.getComponents(String tag)
          Returns the Components registered with the specified tag.
 Map<String,Collection<Component>> UserInterface.getTagged()
          Returns a reference to the tagged component map.
 

Methods in com.threerings.opengl.gui with parameters of type Component
 void Container.add(Component child)
          Adds a child to this container.
 void Container.add(Component child, Object constraints)
          Adds a child to this container with the specified layout constraints.
 void Container.add(int index, Component child)
          Adds a child to this container at the specified position.
 void Container.add(int index, Component child, Object constraints)
          Adds a child to this container at the specified position, with the specified layout constraints.
 void TabbedPane.addTab(String title, Component tab)
          Adds a tab to the pane using the specified title with no close button.
 void TabbedPane.addTab(String title, Component tab, boolean hasClose)
          Adds a tab to the pane using the specified title.
 void TabbedPane.addTab(String title, Component tab, boolean hasClose, ConfigReference<StyleConfig> style)
          Adds a tab to the pane using the specified title.
 boolean TransferHandler.canImport(Component comp, DataFlavor[] transferFlavors)
          Determines whether the specified component can accept an import prior to attempting one.
 boolean LocalTransferHandler.canImport(Component comp, DataFlavor[] transferFlavors)
           
 void TransferHandler.exportAsDrag(Component comp, InputEvent event, int action)
          Initiates a drag operation.
 void TransferHandler.exportToClipboard(Component comp, Clipboard clipboard, int action)
          Exports from the specified component to the given clipboard.
 int Container.getComponentIndex(Component component)
          Returns the index of the specified component in this container or -1 if the component count not be found.
 int TransferHandler.getSourceActions(Component comp)
          Returns the source actions supported by the specified component.
 ToggleButton TabbedPane.getTabButton(Component tab)
          Returns a reference to the tab button for the given tab.
 boolean TransferHandler.importData(Component comp, Transferable data)
          Attempts to import data from the specified component.
 boolean LocalTransferHandler.importData(Component comp, Transferable data)
           
 int TabbedPane.indexOfTab(Component tab)
          Returns the index of the given tab.
 void Root.popDefaultEventTarget(Component component)
          Pops the default event target off the stack.
 void Root.pushDefaultEventTarget(Component component)
          Configures a component to receive all events that are not sent to some other component.
 void Container.remove(Component child)
          Removes the specified child from this container.
 void TabbedPane.removeTab(Component tab)
          Removes the specified tab.
 boolean Container.replace(Component oldc, Component newc)
          Replaces a given old component with a new component (if the old component exits).
 boolean UserInterface.replace(String tag, Component newc)
          Replaces the component at the tag with a new component.
 void TabbedPane.replaceTab(Component otab, Component ntab)
          Replaces the specified tab component.
 void TabbedPane.replaceTab(int tabidx, Component ntab)
          Replaces the tab component at the specified index.
 void Root.requestFocus(Component component)
          Requests that the specified component be given the input focus.
 void Root.rootInvalidated(Component root)
          This is called by a window or a scroll pane when it has become invalid.
 void TabbedPane.selectTab(Component tab)
          Deprecated. 
 void TabbedPane.setSelected(Component tab)
           
 void Root.startDrag(TransferHandler handler, Component source, int action)
          Initiates a drag operation.
 void Root.tipTextChanged(Component component)
          A large component that changes its tooltip while it is the hover component in the normal course of events can call this method to force an update to the tooltip window.
 

Constructors in com.threerings.opengl.gui with parameters of type Component
ScrollPane(GlContext ctx, Component child)
           
ScrollPane(GlContext ctx, Component child, boolean vert, boolean horiz)
           
ScrollPane(GlContext ctx, Component child, boolean vert, boolean horiz, int snap)
           
ScrollPane(GlContext ctx, Component child, boolean vert, boolean horiz, int snap, boolean buttons)
           
 

Uses of Component in com.threerings.opengl.gui.config
 

Methods in com.threerings.opengl.gui.config that return Component
 Component UserInterfaceConfig.getComponent(GlContext ctx, Scope scope, Component comp)
          Creates or updates a component for this configuration.
abstract  Component UserInterfaceConfig.Implementation.getComponent(GlContext ctx, Scope scope, Component comp)
          Creates or updates a component for this configuration.
 Component UserInterfaceConfig.Original.getComponent(GlContext ctx, Scope scope, Component comp)
           
 Component UserInterfaceConfig.Derived.getComponent(GlContext ctx, Scope scope, Component comp)
           
 Component ComponentConfig.getComponent(GlContext ctx, Scope scope, com.threerings.util.MessageBundle msgs, Component comp)
          Creates or updates a component for this configuration.
 

Methods in com.threerings.opengl.gui.config with parameters of type Component
 Component UserInterfaceConfig.getComponent(GlContext ctx, Scope scope, Component comp)
          Creates or updates a component for this configuration.
abstract  Component UserInterfaceConfig.Implementation.getComponent(GlContext ctx, Scope scope, Component comp)
          Creates or updates a component for this configuration.
 Component UserInterfaceConfig.Original.getComponent(GlContext ctx, Scope scope, Component comp)
           
 Component UserInterfaceConfig.Derived.getComponent(GlContext ctx, Scope scope, Component comp)
           
 Component ComponentConfig.getComponent(GlContext ctx, Scope scope, com.threerings.util.MessageBundle msgs, Component comp)
          Creates or updates a component for this configuration.
 

Uses of Component in com.threerings.opengl.gui.layout
 

Methods in com.threerings.opengl.gui.layout with parameters of type Component
 void LayoutManager.addLayoutComponent(Component comp, Object constraints)
          Components added to a container will result in a call to this method, informing the layout manager of said constraints.
 void GroupLayout.addLayoutComponent(Component comp, Object constraints)
           
 void BorderLayout.addLayoutComponent(Component comp, Object constraints)
           
 void AnchorLayout.addLayoutComponent(Component comp, Object constraints)
           
 void AbsoluteLayout.addLayoutComponent(Component comp, Object constraints)
           
 Object LayoutManager.getConstraints(Component comp)
          Returns a reference to the constraints associated with the specified component, or null for none.
 Object GroupLayout.getConstraints(Component comp)
           
 Object BorderLayout.getConstraints(Component comp)
           
 Object AnchorLayout.getConstraints(Component comp)
           
 Object AbsoluteLayout.getConstraints(Component comp)
           
static Container GroupLayout.makeHBox(GlContext ctx, GroupLayout.Justification justification, Component... comps)
          Makes a horizontal box of components that uses the supplied (on-axis) justification.
static Container GroupLayout.makeVBox(GlContext ctx, GroupLayout.Justification justification, Component... comps)
          Makes a vertical box of components that uses the supplied (on-axis) justification.
 void LayoutManager.removeLayoutComponent(Component comp)
          Components removed to a container for which a layout manager has been configured will result in a call to this method.
 void GroupLayout.removeLayoutComponent(Component comp)
           
 void BorderLayout.removeLayoutComponent(Component comp)
           
 void AnchorLayout.removeLayoutComponent(Component comp)
           
 void AbsoluteLayout.removeLayoutComponent(Component comp)
           
 

Uses of Component in com.threerings.opengl.gui.text
 

Subclasses of Component in com.threerings.opengl.gui.text
 class HTMLView
          Displays HTML using Java's HTML rendering support to layout and render the HTML.
 

Uses of Component in com.threerings.opengl.gui.util
 

Methods in com.threerings.opengl.gui.util with parameters of type Component
static void ControllerUtil.postAction(Component source, String action)
          Posts a new ActionEvent with the supplied parameters to the controller hierarchy.
static void ControllerUtil.postAction(Component source, String action, Object argument)
          Posts a new ActionEvent with the supplied parameters to the controller hierarchy.
 

Uses of Component in com.threerings.tudey.client.sprite
 

Methods in com.threerings.tudey.client.sprite that return Component
 Component Sprite.createTooltipComponent(String tiptext)
          Creates a tooltip component for the sprite (will only be called if Sprite.getTooltipText() returns true).
 Component PlaceableSprite.createTooltipComponent(String tiptext)
           
 Component PlaceableSprite.Implementation.createTooltipComponent(String tiptext)
          Creates a tooltip component for the implementation (will only be called if PlaceableSprite.Implementation.getTooltipText() returns true).
 Component PlaceableSprite.Original.createTooltipComponent(String tiptext)
           
 Component ActorSprite.createTooltipComponent(String tiptext)
           
 Component ActorSprite.Implementation.createTooltipComponent(String tiptext)
          Creates a tooltip component for the implementation (will only be called if ActorSprite.Implementation.getTooltipText() returns true).
 Component ActorSprite.Original.createTooltipComponent(String tiptext)
           
 



Copyright © 2011. All Rights Reserved.