Uses of Interface
com.leafdigital.ui.api.Widget

Packages that use Widget
com.leafdigital.ui.api The UI API provides a basic windowing interface library of widgets that can be constructed from XML. 
 

Uses of Widget in com.leafdigital.ui.api
 

Subinterfaces of Widget in com.leafdigital.ui.api
 interface BorderPanel
          A Panel with nine component slots - all the compass points, plus a central component.
 interface Button
          Interface for buttons.
 interface ButtonPanel
          A Panel that lays out buttons horizontally in the appropriate platform order.
 interface CheckBox
          Interface for checkboxes.
 interface ChoicePanel
          A Panel with any number of slots (all Page objects).
 interface DecoratedPanel
          Provides visual decoration as a background to other components.
 interface Dropdown
          Interface for combo boxes.
 interface EditArea
          Interface for multi-line edit boxes.
 interface EditBox
          Interface for single-line edit boxes.
 interface GroupPanel
          A Panel with only a single slot, named 'contents' in XML.
 interface HorizontalPanel
          A Panel with any number of slots (all named 'slot' in XML).
 interface Label
          Interface for wrapping (multi-line) labels
 interface ListBox
          Interface for list boxes.
 interface Page
          This interface represents the contents of a single Page within the system.
 interface Panel
          Represents a Panel, a component which can hold other components in various slots.
 interface Pic
          Interface for images from theme.
 interface Progress
          Interface for progress bars
 interface RadioButton
          Interface for radio buttons.
 interface ScrollPanel
          A panel with a vertical scrollbar which contains one widget.
 interface Spacer
          Interface for spacers, which don't display anything but just take up space.
 interface SplitPanel
          A Panel with two component slots - 'main' and 'split'.
 interface Table
          Interface for tables.
 interface TabPanel
          A Panel with any number of slots (all named 'tab' in XML).
 interface TextView
          Interface for a scrolling text view.
 interface TreeBox
          Like listbox but contains a tree of items
 interface VerticalPanel
          A Panel with any number of slots (all named 'slot' in XML).
 

Methods in com.leafdigital.ui.api that return Widget
 Widget UI.createWidget(org.w3c.dom.Document d, WidgetOwner owner)
          Creates a Widget from an XML document.
 Widget BorderPanel.get(int slot)
          Retrieves the widget in one slot of the BorderPanel
 Widget WidgetOwner.getWidget(java.lang.String id)
          Returns a widget within this window.
 Widget[] WidgetParent.getWidgets()
          Gets all widgets contained within this widget.
 Widget UI.newJComponentWrapper(javax.swing.JComponent c)
          Creates a widget wrapper for a JComponent.
 

Methods in com.leafdigital.ui.api with parameters of type Widget
 void VerticalPanel.add(Widget w)
          Adds a widget to the next available slot.
 void HorizontalPanel.add(Widget w)
          Adds a widget to the next available slot.
 void Panel.remove(Widget c)
          Remove a component from the panel.
 void ButtonPanel.set(int slot, Widget w)
          Sets the button in a slot (null for none)
 void BorderPanel.set(int slot, Widget w)
          Sets the component in one slot of the BorderPanel.
 void ScrollPanel.set(Widget w)
          Sets the inner widget.
 void GroupPanel.set(Widget w)
          Sets the widget inside the panel
 void Window.setContents(Widget w)
          Clears existing contents and sets the contents of the window to a single widget.
 void Page.setContents(Widget w)
          Clears existing contents and sets the contents of the page to a single widget.
 void Dialog.setContents(Widget w)
          Clears existing contents and sets the contents of the dialog to a single widget.
 void SplitPanel.setMain(Widget w)
          Sets the main component.
 void SplitPanel.setSplit(Widget w)
          Sets the split component.
 void WidgetOwner.setWidgetID(java.lang.String id, Widget w)
          Called by the UI singleton to record widget IDs.
 



Copyright © 2011 Samuel Marshall. All rights reserved.