igeo.gui
Class IScreenTogglePanel
java.lang.Object
igeo.gui.IComponent
igeo.gui.IPanel
igeo.gui.IScreenTogglePanel
- All Implemented Interfaces:
- IPanelI, IServerI, java.awt.event.ComponentListener, java.awt.event.FocusListener, java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.awt.event.WindowListener, java.util.EventListener
- Direct Known Subclasses:
- IGridPanel
public class IScreenTogglePanel
- extends IPanel
A panel class to contain multiple IPane with toggle function
to switch showing only one pane and showing all panes.
- Author:
- Satoru Sugihara
| Methods inherited from class igeo.gui.IPanel |
addPane, chooseFile, chooseFile, chooseFile, clearPane, componentHidden, componentMoved, componentResized, componentShown, currentPane, focus, focusGained, focusLost, getBounds, getIG, getPaneAt, getPaneAt, keyReleased, keyTyped, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, pane, paneNum, postdraw, predraw, removePane, saveDialog, server, setBounds, setIG, setParent, skipAutoFocus, startDynamicServer, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fullScreenPane
public IPane fullScreenPane
fullPaneOrigX
public int fullPaneOrigX
fullPaneOrigY
public int fullPaneOrigY
fullPaneOrigWidth
public int fullPaneOrigWidth
fullPaneOrigHeight
public int fullPaneOrigHeight
IScreenTogglePanel
public IScreenTogglePanel(int x,
int y,
int width,
int height)
enableFullScreen
public void enableFullScreen(int paneIdx)
enableFullScreen
public void enableFullScreen(IPane p)
disableFullScreen
public void disableFullScreen()
isFull
public boolean isFull()
setVisible
public void setVisible(boolean v)
- Specified by:
setVisible in interface IPanelI- Overrides:
setVisible in class IPanel
setSize
public void setSize(int w,
int h)
- Specified by:
setSize in interface IPanelI- Overrides:
setSize in class IPanel
draw
public void draw(IGraphics g)
- Specified by:
draw in interface IPanelI- Overrides:
draw in class IPanel
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked in interface java.awt.event.MouseListener- Overrides:
mouseClicked in class IPanel
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
- Specified by:
keyPressed in interface java.awt.event.KeyListener- Overrides:
keyPressed in class IPanel