igeo.gui
Class IPane
java.lang.Object
igeo.gui.IComponent
igeo.gui.IPane
public class IPane
- extends IComponent
A pane object to provide one rectangular area to draw objects.
One pane is associated with one IView and INavigator and retained by IPanel.
- Version:
- 0.7.1.0;
- Author:
- Satoru Sugihara
- See Also:
IView
,
INavigator
,
IPanel
Constructor Summary |
IPane(int x,
int y,
int width,
int height,
IView view,
IPanel p)
|
Methods inherited from class igeo.gui.IComponent |
contains, getHeight, getWidth, getX, getY, hide, isVisible, setBounds, setLocatoin, setSize, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
public IPanel parent
view
public IView view
navigator
public INavigator navigator
borderWidth
public float borderWidth
borderColor
public java.awt.Color borderColor
borderStroke
public java.awt.BasicStroke borderStroke
IPane
public IPane(int x,
int y,
int width,
int height,
IView view,
IPanel p)
setParent
public void setParent(IPanel p)
getPanel
public IPanel getPanel()
setBorderWidth
public void setBorderWidth(float b)
getBorderWidth
public float getBorderWidth()
setBorderColor
public void setBorderColor(java.awt.Color c)
getBorderColor
public java.awt.Color getBorderColor()
navigator
public INavigator navigator()
setBounds
public void setBounds(int x,
int y,
int w,
int h)
- Overrides:
setBounds
in class IComponent
setView
public void setView(IView view)
getView
public IView getView()
draw
public void draw(IGraphics g)
focus
public void focus()
- Focus view on objects
focus
public void focus(java.util.ArrayList<IObject> e)
- Focus view on objects
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
mouseWheelMoved
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
keyPressed
public void keyPressed(java.awt.event.KeyEvent e)
keyReleased
public void keyReleased(java.awt.event.KeyEvent e)
keyTyped
public void keyTyped(java.awt.event.KeyEvent e)
focusLost
public void focusLost(java.awt.event.FocusEvent e)
focusGained
public void focusGained(java.awt.event.FocusEvent e)