|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ilog.views.maps.export.SDOConnectionPanel
public class SDOConnectionPanel
A class to handle the connection to Oracle database. A connection in JDBC is defined by the user name, his password, a driver (which is "thin" here), a host name (the name of the machine running the DB), a port id and an oracle SID. For more information about these parameters, please contact your DBA.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
SDOConnectionPanel()
Creates a Panel to allow user to connect to Oracle. |
|
| Method Summary | |
|---|---|
JPanel |
chooseLayers()
Returns the list of selected layers. |
void |
createConnection()
Creates the connection to Oracle. |
IlvSDOConnection |
getConnection()
Returns the connection. |
String[] |
getLayerList()
Returns the list of layers found in the current connection with oracle. |
boolean |
isConnected()
Indicates whether or not the panel is connected to Oracle. |
boolean |
isObjectModel()
Returns true if object model mode is requested. |
void |
makeConnection(IlvSDOConnection conn)
Sets the current connection ( IlvSDOConnectionFactory implementation). |
void |
setFileChooser(JFileChooser chooser)
Sets the file chooser used to select the layer, in order to rescan the directory when the SDO model type is changed. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SDOConnectionPanel()
| Method Detail |
|---|
public String[] getLayerList()
public void createConnection()
throws SQLException
SQLExceptionpublic JPanel chooseLayers()
public void makeConnection(IlvSDOConnection conn)
IlvSDOConnectionFactory implementation).
makeConnection in interface IlvSDOConnectionFactoryconn - Connection.public IlvSDOConnection getConnection()
public boolean isObjectModel()
public void setFileChooser(JFileChooser chooser)
chooser - file chooser.public boolean isConnected()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||