|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.core.AbstractDisposable
yu.ac.bg.etf.javaqx.qswing.JQComponent
yu.ac.bg.etf.javaqx.qswing.JQContainer
yu.ac.bg.etf.javaqx.qswing.JQWindow
yu.ac.bg.etf.javaqx.qswing.JQFrame
Frame Component.
Field Summary |
Fields inherited from class yu.ac.bg.etf.javaqx.qswing.JQWindow |
ALWAYS_ON_TOP_WINDOW_SUPPORTED, BORDER_HELP_BUTTON, BORDER_MAXIMIZE_BUTTON, BORDER_MINIMIZE_BUTTON, BORDER_SYSTEM_MENU, BORDER_TITLE, BORDER_UNDECORATED, FULL_SCREEN_WINDOW_SUPPORTED, TYPE_DIALOG, TYPE_POPUP, TYPE_SPLASH_SCREEN, TYPE_TOOL, TYPE_WINDOW, WINDOW_OPACITY_SUPPORTED, WINDOW_SHAPE_SUPPORTED |
Fields inherited from class yu.ac.bg.etf.javaqx.qswing.JQComponent |
listenerList |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.JQWindowConstants |
APPLICATION_MODAL, DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, FULL_SCREEN, HIDE_ON_CLOSE, ICONIFIED, MAXIMIZED, NON_MODAL, NORMAL, POSITION_CUSTOM, QUIT_ON_CLOSE, WINDOW_MODAL |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQWindowProperties |
PROPERTY_ALWAYS_ON_TOP, PROPERTY_DEFAULT_CLOSE_OPERATION, PROPERTY_ICON_IMAGE, PROPERTY_OPACITY, PROPERTY_SHAPE, PROPERTY_TITLE |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQContainerProperties |
PROPERTY_LAYOUT_MANAGER |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.properties.JQComponentProperties |
PROPERTY_BACKGROUND, PROPERTY_COMPONENT_ORIENTATION, PROPERTY_CONTEXT_MENU, PROPERTY_ENABLED, PROPERTY_FIXED_SIZE, PROPERTY_FOCUSABLE, PROPERTY_FONT, PROPERTY_FOREGROUND, PROPERTY_INSETS, PROPERTY_LOCALE, PROPERTY_MAXIMUM_SIZE, PROPERTY_MINIMUM_SIZE, PROPERTY_NAME, PROPERTY_OPAQUE, PROPERTY_PREFERRED_SIZE, PROPERTY_RESOURCE_BUNDLE_NAME, PROPERTY_STATUS_TIP_TEXT, PROPERTY_STYLE_SHEET, PROPERTY_TOOL_TIP_TEXT, PROPERTY_VISIBLE, PROPERTY_WHATS_THIS_TEXT |
Constructor Summary | |
JQFrame()
Constructs new JQFrame object. |
|
JQFrame(java.lang.String title)
Constructs new JQFrame object. |
Method Summary | |
protected JQComponent |
addImpl(JQComponent comp,
java.lang.Object constraints,
int index)
Adds new component to the container. |
JQToolBar |
addToolBar(JQToolBar toolBar)
Adds toolbar. |
void |
doLayout()
Lays out this container. |
JQComponent |
getComponent(int index)
Returns the component at specified index. |
int |
getComponentCount()
Returns the number of components in this container. |
Insets |
getInsets()
Returns insets of this component. |
LayoutManager |
getLayout()
Returns layout manager of this component. |
JQMenuBar |
getMenuBar()
Returns menu bar. |
Dimension |
getPreferredSize()
Returns preferred size of the component. |
JQStatusBar |
getStatusBar()
Returns status bar. |
JQToolBar |
getToolBar(int index)
Returns the toolbar at specified index. |
int |
getToolBarCount()
Returns the number of toolbars. |
void |
invalidate()
Invalidates the component. |
JQComponent |
remove(int index)
Removes index specified component from this container. |
void |
remove(JQComponent component)
Removes the specified component from this container. |
void |
removeToolBar(JQToolBar toolBar)
Removes the specified toolbar. |
void |
setComponentOrientation(ComponentOrientation orientation)
Sets component orientation. |
void |
setInsets(Insets insets)
Sets insets for this component. |
void |
setLayout(LayoutManager layoutManager)
Sets the layout manager for this container. |
JQMenuBar |
setMenuBar(JQMenuBar menuBar)
Sets menu bar. |
JQStatusBar |
setStatusBar(JQStatusBar statusBar)
Sets status bar. |
void |
updateLocalization()
Updates localization. |
void |
validate()
Validates the component. |
Methods inherited from class yu.ac.bg.etf.javaqx.qswing.JQContainer |
add, add, add, add, getComponentIndex, getComponents, getMaximumSize, getMinimumSize, pack, removeAll, setBackground, setForeground |
Methods inherited from class yu.ac.bg.etf.javaqx.core.AbstractDisposable |
addDisposeListener, dispose, disposedCheck, disposedErrorString, finalize, isDisposed, removeDisposeListener |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JQFrame()
public JQFrame(java.lang.String title)
title
- the frame titleMethod Detail |
public JQMenuBar getMenuBar()
public JQMenuBar setMenuBar(JQMenuBar menuBar)
menuBar
- the menu bar
public int getToolBarCount()
public JQToolBar getToolBar(int index)
index
- the index of the toolbar
java.lang.IndexOutOfBoundsException
- if index is out of range
((index < 0) | (index >= getToolBarCount())).public JQToolBar addToolBar(JQToolBar toolBar)
toolBar
- the tool bar
public void removeToolBar(JQToolBar toolBar)
toolBar
- the toolbar to be removedpublic JQStatusBar getStatusBar()
public JQStatusBar setStatusBar(JQStatusBar statusBar)
statusBar
- the status bar
public Dimension getPreferredSize()
getPreferredSize
in class JQContainer
public Insets getInsets()
getInsets
in class JQComponent
public void setInsets(Insets insets)
setInsets
in class JQComponent
insets
- the insets of the componentpublic void invalidate()
invalidate
in class JQContainer
public void validate()
validate
in class JQContainer
public void setComponentOrientation(ComponentOrientation orientation)
setComponentOrientation
in class JQContainer
public void updateLocalization()
updateLocalization
in class JQWindow
public void remove(JQComponent component)
remove
in class JQContainer
component
- the component to be removedpublic JQComponent remove(int index)
remove
in class JQContainer
index
- the index of the component to be removed
public JQComponent getComponent(int index)
getComponent
in class JQContainer
index
- the index of the component
public int getComponentCount()
getComponentCount
in class JQContainer
public LayoutManager getLayout()
getLayout
in class JQContainer
public void setLayout(LayoutManager layoutManager)
setLayout
in class JQContainer
layoutManager
- the layout managerpublic void doLayout()
doLayout
in class JQContainer
protected JQComponent addImpl(JQComponent comp, java.lang.Object constraints, int index)
addImpl
in class JQContainer
comp
- the componentconstraints
- the constraintsindex
- the component index
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |