Package com.im.ijc.core.api.ui
Interface SchemaSelector
-
public interface SchemaSelector
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_ERROR_MESSAGE
This property is fired whenever error message changesstatic java.lang.String
PROP_SCHEMA
This property is fired whenever schema changesstatic java.lang.String
PROP_VALID
This property is fired whenever component's valid property changes
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Adds a PropertyChangeListener which are notified after changes of any property.javax.swing.JComponent
getComponent()
Gets the SchemaSelector componentjava.lang.String
getErrorMessage()
Gets an error message for SchemaSelectorSchemaProviderCookie
getSelectedSchemaProvider()
Gets selected SchemaProviderCookie or null.boolean
isSelectOnlyWritableSchema()
Gets whether only writeable schema allowed to be selected.boolean
isValidSelector()
Gets whether this component is 'valid'.void
removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes a PropertyChangeListenervoid
setFinalMessageOnConnected(java.lang.String msg)
Enables to set an additional message to display when schema connected.void
setVisibleCreateProjectButton(boolean visible)
Show/hide Create New project button.void
setVisibleOpenProjectsButton(boolean visible)
Show/hide Open project button.void
updateConnection(SchemaProviderCookie schemaCookie)
Used to update the connection e.g.
-
-
-
Field Detail
-
PROP_VALID
static final java.lang.String PROP_VALID
This property is fired whenever component's valid property changes- See Also:
- Constant Field Values
-
PROP_ERROR_MESSAGE
static final java.lang.String PROP_ERROR_MESSAGE
This property is fired whenever error message changes- See Also:
- Constant Field Values
-
PROP_SCHEMA
static final java.lang.String PROP_SCHEMA
This property is fired whenever schema changes- See Also:
- Constant Field Values
-
-
Method Detail
-
getComponent
javax.swing.JComponent getComponent()
Gets the SchemaSelector component
-
getErrorMessage
java.lang.String getErrorMessage()
Gets an error message for SchemaSelector
-
isValidSelector
boolean isValidSelector()
Gets whether this component is 'valid'.
-
isSelectOnlyWritableSchema
boolean isSelectOnlyWritableSchema()
Gets whether only writeable schema allowed to be selected.
-
getSelectedSchemaProvider
SchemaProviderCookie getSelectedSchemaProvider()
Gets selected SchemaProviderCookie or null.
-
setFinalMessageOnConnected
void setFinalMessageOnConnected(java.lang.String msg)
Enables to set an additional message to display when schema connected. Used usually for some hint like press 'Next' button.
-
addPropertyChangeListener
void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
Adds a PropertyChangeListener which are notified after changes of any property.
-
removePropertyChangeListener
void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
Removes a PropertyChangeListener
-
updateConnection
void updateConnection(SchemaProviderCookie schemaCookie)
Used to update the connection e.g. from saved settings.
-
setVisibleCreateProjectButton
void setVisibleCreateProjectButton(boolean visible)
Show/hide Create New project button. Button is shown at default
-
setVisibleOpenProjectsButton
void setVisibleOpenProjectsButton(boolean visible)
Show/hide Open project button. Button is shown at default
-
-