apps.mathpadapp.util
Class MTDialog

java.lang.Object
  extended by apps.mathpadapp.conceptmapping.GraphNode
      extended by apps.mathpadapp.util.MTFrame
          extended by apps.mathpadapp.util.MTDialog
Direct Known Subclasses:
AnswerDialog, CustomiseViewDialog, LoginDialog, MTMessageBox, SendToDialog, TableConnectDialog

public abstract class MTDialog
extends MTFrame

The Class MTDialog.


Nested Class Summary
 
Nested classes/interfaces inherited from class apps.mathpadapp.conceptmapping.GraphNode
GraphNode.ConceptMapListener
 
Constructor Summary
MTDialog(MTFrame parentFrame, ContentSystem contentSystem)
          Instantiates a new MT dialog.
MTDialog(MTFrame parentFrame, ContentSystem contentSystem, GraphManager graphManager)
          Instantiates a new MT dialog.
 
Method Summary
 void close()
          Close.
 MTFrame getParent()
          Gets the parent.
 boolean isModal()
          Checks if is modal.
 void setModal(boolean isModal)
          Sets the modal.
 void setVisible(boolean isVisible)
          Sets the visible.
 
Methods inherited from class apps.mathpadapp.util.MTFrame
getTitle, getTopBar, getWindow, setHeight, setTitle, setWidth
 
Methods inherited from class apps.mathpadapp.conceptmapping.GraphNode
addConceptMapListener, fireNodeConnected, fireNodeDisconnected, getClosePoint, getGraphManager, getIncomingLinks, getLinkPoint, getLocation, getName, getNodeItem, getOutgoingLinks, isLinkable, registerIncomingLink, registerOutgoingLink, remove, removeConceptMapListeners, setClosePoint, setLinkable, setLinkPoint, setLocation, unregisterAllLinks, unregisterLink, updateConnectionPoints
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MTDialog

public MTDialog(MTFrame parentFrame,
                ContentSystem contentSystem)
Instantiates a new MT dialog.

Parameters:
parentFrame - the parent frame
contentSystem - the content system

MTDialog

public MTDialog(MTFrame parentFrame,
                ContentSystem contentSystem,
                GraphManager graphManager)
Instantiates a new MT dialog.

Parameters:
parentFrame - the parent frame
contentSystem - the content system
graphManager - the graph manager
Method Detail

close

public void close()
Description copied from class: MTFrame
Close.

Overrides:
close in class MTFrame

getParent

public MTFrame getParent()
Gets the parent.

Returns:
the parent

isModal

public boolean isModal()
Checks if is modal.

Returns:
true, if is modal

setModal

public void setModal(boolean isModal)
Sets the modal.

Parameters:
isModal - the new modal

setVisible

public void setVisible(boolean isVisible)
Sets the visible.

Parameters:
isVisible - the new visible