| |
|
| java.lang.Object nextapp.echo2.app.Component nextapp.echo2.app.ContentPane
All known Subclasses: echo2example.chatclient.MessagePane, echo2example.email.MailScreen, echo2example.chatclient.LoginScreen, echo2example.email.LoginScreen, nextapp.echo2.testapp.interactive.WelcomePane, echo2example.chatclient.ChatScreen, nextapp.echo2.testapp.interactive.TestPane,
ContentPane | public class ContentPane extends Component implements Pane,PaneContainer(Code) | | A content pane is a high-level container/layout object which provides
layout for a content region and floating WindowPane s.
A ContentPane may only be added to a Component
which implements PaneContainer .
At most one Component that does NOT implement
FloatingPane may be added to a ContentPane .
Any number of FloatingPane s may be added as children.
|
Constructor Summary | |
public | ContentPane() Creates a new ContentPane . |
PROPERTY_BACKGROUND_IMAGE | final public static String PROPERTY_BACKGROUND_IMAGE(Code) | | |
PROPERTY_HORIZONTAL_SCROLL | final public static String PROPERTY_HORIZONTAL_SCROLL(Code) | | |
PROPERTY_INSETS | final public static String PROPERTY_INSETS(Code) | | |
PROPERTY_VERTICAL_SCROLL | final public static String PROPERTY_VERTICAL_SCROLL(Code) | | |
ContentPane | public ContentPane()(Code) | | Creates a new ContentPane .
|
getBackgroundImage | public FillImage getBackgroundImage()(Code) | | Returns the background image.
the background image |
getHorizontalScroll | public Extent getHorizontalScroll()(Code) | | Returns the horizontal scrollbar position.
the horizontal scrollbar position |
getInsets | public Insets getInsets()(Code) | | Returns the inset margin of the content.
Note that FloatingPane s, such as
WindowPane s, will NOT be constrained by
this margin.
Values may only be specified in pixel-based units.
newValue the inset margin |
getVerticalScroll | public Extent getVerticalScroll()(Code) | | Returns the vertical scrollbar position.
the vertical scrollbar position |
setBackgroundImage | public void setBackgroundImage(FillImage newValue)(Code) | | Sets the background image.
Parameters: newValue - the new background image |
setHorizontalScroll | public void setHorizontalScroll(Extent newValue)(Code) | | Sets the horizontal scrollbar position.
Values must be in pixel units.
A value of -1px indicates that the scrollbar should be positioned
at the end of the range.
Parameters: newValue - the new horizontal scrollbar position |
setInsets | public void setInsets(Insets newValue)(Code) | | Sets the inset margin of the content.
Note that FloatingPane s, such as
WindowPane s, will NOT be constrained by
this margin.
Values may only be specified in pixel-based units.
Parameters: newValue - the new inset margin |
setVerticalScroll | public void setVerticalScroll(Extent newValue)(Code) | | Sets the vertical scrollbar position.
Values must be in pixel units.
A value of -1px indicates that the scrollbar should be positioned
at the end of the range.
Parameters: newValue - the new vertical scrollbar position |
Methods inherited from nextapp.echo2.app.Component | public void add(Component c)(Code)(Java Doc) public void add(Component c, int n) throws IllegalChildException(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener l)(Code)(Java Doc) void assignRenderId(String renderId)(Code)(Java Doc) public void dispose()(Code)(Java Doc) void doDispose()(Code)(Java Doc) void doInit()(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) public ApplicationInstance getApplicationInstance()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) final public Component getComponent(int n)(Code)(Java Doc) final public Component getComponent(String id)(Code)(Java Doc) final public int getComponentCount()(Code)(Java Doc) final public Component[] getComponents()(Code)(Java Doc) protected EventListenerList getEventListenerList()(Code)(Java Doc) final public int getFocusTraversalIndex()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public String getId()(Code)(Java Doc) final public Object getIndexedProperty(String propertyName, int propertyIndex)(Code)(Java Doc) public LayoutData getLayoutData()(Code)(Java Doc) public LayoutDirection getLayoutDirection()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) final public Component getParent()(Code)(Java Doc) final public Object getProperty(String propertyName)(Code)(Java Doc) public String getRenderId()(Code)(Java Doc) final public Object getRenderIndexedProperty(String propertyName, int propertyIndex)(Code)(Java Doc) final public Object getRenderIndexedProperty(String propertyName, int propertyIndex, Object defaultValue)(Code)(Java Doc) final public LayoutDirection getRenderLayoutDirection()(Code)(Java Doc) final public Locale getRenderLocale()(Code)(Java Doc) final public Object getRenderProperty(String propertyName)(Code)(Java Doc) final public Object getRenderProperty(String propertyName, Object defaultValue)(Code)(Java Doc) final public Style getStyle()(Code)(Java Doc) final public String getStyleName()(Code)(Java Doc) final public Component getVisibleComponent(int n)(Code)(Java Doc) final public int getVisibleComponentCount()(Code)(Java Doc) final public Component[] getVisibleComponents()(Code)(Java Doc) protected boolean hasEventListenerList()(Code)(Java Doc) final public int indexOf(Component c)(Code)(Java Doc) public void init()(Code)(Java Doc) final public boolean isAncestorOf(Component c)(Code)(Java Doc) final public boolean isEnabled()(Code)(Java Doc) public boolean isFocusTraversalParticipant()(Code)(Java Doc) final public boolean isRegistered()(Code)(Java Doc) final public boolean isRenderEnabled()(Code)(Java Doc) final public boolean isRenderVisible()(Code)(Java Doc) public boolean isValidChild(Component child)(Code)(Java Doc) public boolean isValidParent(Component parent)(Code)(Java Doc) final public boolean isVisible()(Code)(Java Doc) public void processInput(String inputName, Object inputValue)(Code)(Java Doc) void register(ApplicationInstance newValue)(Code)(Java Doc) public void remove(Component c)(Code)(Java Doc) public void remove(int n)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public void removePropertyChangeListener(PropertyChangeListener l)(Code)(Java Doc) public void setBackground(Color newValue)(Code)(Java Doc) public void setEnabled(boolean newValue)(Code)(Java Doc) public void setFocusTraversalIndex(int newValue)(Code)(Java Doc) public void setFocusTraversalParticipant(boolean newValue)(Code)(Java Doc) public void setFont(Font newValue)(Code)(Java Doc) public void setForeground(Color newValue)(Code)(Java Doc) public void setId(String id)(Code)(Java Doc) public void setIndexedProperty(String propertyName, int propertyIndex, Object newValue)(Code)(Java Doc) public void setLayoutData(LayoutData newValue)(Code)(Java Doc) public void setLayoutDirection(LayoutDirection newValue)(Code)(Java Doc) public void setLocale(Locale newValue)(Code)(Java Doc) public void setProperty(String propertyName, Object newValue)(Code)(Java Doc) public void setRenderId(String renderId)(Code)(Java Doc) public void setStyle(Style newValue)(Code)(Java Doc) public void setStyleName(String newValue)(Code)(Java Doc) public void setVisible(boolean newValue)(Code)(Java Doc) public void validate()(Code)(Java Doc) public boolean verifyInput(String inputName, Object inputValue)(Code)(Java Doc) final public int visibleIndexOf(Component c)(Code)(Java Doc)
|
|
|
|