public class MainFrame extends org.pushingpixels.flamingo.api.ribbon.JRibbonFrame
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID_PREVIOUS_STATE |
static java.lang.String |
PROPERTY_DETACHEDMODE |
static int |
TILE_GRID |
static int |
TILE_HORIZONTAL |
static int |
TILE_VERTICAL |
static java.lang.String |
TITLE |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
MainFrame() |
Modifier and Type | Method and Description |
---|---|
boolean |
externalizeInspector()
Externalize the inspector in main container.
|
ApplicationMenu |
getApplicationMenu() |
javax.swing.JPanel |
getCenterPanel()
Returns the center pane, this pane contains the desktop pane.
|
ChatPanel |
getChat()
Deprecated.
IRC has been removed since Icy 1.9.8.0
|
int |
getDesktopHeight()
Return content pane height
|
IcyDesktopPane |
getDesktopPane()
Returns the desktopPane which contains InternalFrame.
|
java.awt.Dimension |
getDesktopSize()
Return content pane dimension (available area in main frame).
|
int |
getDesktopWidth()
Return content pane width
|
static Viewer[] |
getExternalViewers(boolean wantNotVisible,
boolean wantIconized)
Returns the list of internal viewers.
|
static Viewer[] |
getExternalViewers(java.awt.Rectangle bounds,
boolean wantNotVisible,
boolean wantIconized)
Returns the list of internal viewers.
|
InspectorPanel |
getInspector() |
java.util.ArrayList<javax.swing.JInternalFrame> |
getInternalFrames()
Return all internal frames
|
MainRibbon |
getMainRibbon() |
int |
getPreviousHeight() |
boolean |
getPreviousMaximized() |
SearchBar |
getSearchBar()
Returns the
SearchBar component. |
void |
init()
Process init.
|
boolean |
internalizeInspector()
Internalize the inspector in main container.
|
boolean |
isDetachedMode()
Return true if the main frame is in "detached" mode
|
boolean |
isInpectorInternalized()
Returns true if the inspector is internalized in main container.
|
void |
organizeCascade()
Organize all frames in cascade
|
void |
organizeTile(int type)
Organize all frames in tile.
|
void |
refreshTitle()
Refresh application title
|
void |
reshape(int x,
int y,
int width,
int height) |
void |
setDetachedMode(boolean value)
Set detached window mode.
|
dispose, getApplicationIcon, getRibbon, isShowingKeyTips, setApplicationIcon, setContentPane, setIconImages, setJMenuBar, setLayout
getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, remove, repaint, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setLayeredPane, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, dispatchEvent, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final java.lang.String TITLE
public static final java.lang.String PROPERTY_DETACHEDMODE
public static final int TILE_HORIZONTAL
public static final int TILE_VERTICAL
public static final int TILE_GRID
public static final java.lang.String ID_PREVIOUS_STATE
public MainFrame() throws java.awt.HeadlessException
java.awt.HeadlessException
public static Viewer[] getExternalViewers(java.awt.Rectangle bounds, boolean wantNotVisible, boolean wantIconized)
bounds
- If not null only viewers visible in the specified bounds are returned.wantNotVisible
- Also return not visible viewerswantIconized
- Also return iconized viewerspublic static Viewer[] getExternalViewers(boolean wantNotVisible, boolean wantIconized)
wantNotVisible
- Also return not visible viewerswantIconized
- Also return iconized viewerspublic void init()
public ApplicationMenu getApplicationMenu()
public javax.swing.JPanel getCenterPanel()
public SearchBar getSearchBar()
SearchBar
component.public IcyDesktopPane getDesktopPane()
public java.util.ArrayList<javax.swing.JInternalFrame> getInternalFrames()
public InspectorPanel getInspector()
public MainRibbon getMainRibbon()
public boolean isDetachedMode()
public java.awt.Dimension getDesktopSize()
public int getDesktopWidth()
public int getDesktopHeight()
public int getPreviousHeight()
public boolean getPreviousMaximized()
public boolean isInpectorInternalized()
public boolean internalizeInspector()
public boolean externalizeInspector()
public void organizeCascade()
public void organizeTile(int type)
type
- tile type.public void setDetachedMode(boolean value)
public void refreshTitle()
public void reshape(int x, int y, int width, int height)
reshape
in class java.awt.Window