|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JTabbedPane | +--org.w3c.rdfpic.ui.SchemaTabbedPane
Displays a tabbed pane for editing values of fields for an image. Each Tab corresponds to a schema. Within that tab, there are a number of rows. Each row corresponds to a field of that schema. To the left will be the name of the field, to the right an editable MemComboBox for entering values. Between the name and field is a checkbox - if it is checked, the value is persistent. That means that when a new file is loaded, the previous value remains selected. This is useful, as a large number of photo's might be made by the same photographer in the same location with the same camera. Regardless of whether or not the values are persistent, all old values can be recalled as they are stored in the MemComboBox.
This class is an RdfDataProvider.
Inner classes inherited from class javax.swing.JTabbedPane |
javax.swing.JTabbedPane.AccessibleJTabbedPane,
javax.swing.JTabbedPane.ModelListener |
Inner classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent,
javax.swing.JComponent.IntVector,
javax.swing.JComponent.KeyboardBinding,
javax.swing.JComponent.KeyboardState |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
(package private) java.util.TreeMap |
builtinMap
|
(package private) RdfPicCore |
core
|
(package private) javax.swing.JComboBox[][] |
dialog
|
(package private) static java.awt.Font |
font
|
(package private) javax.swing.JCheckBox[][] |
persistent
|
(package private) javax.swing.JScrollPane[] |
tabs
|
Fields inherited from class javax.swing.JTabbedPane |
changeEvent,
changeListener,
haveRegistered,
model,
pages,
tabPlacement,
uiClassID |
Fields inherited from class javax.swing.JComponent |
_bounds,
accessibleContext,
alignmentX,
alignmentY,
ANCESTOR_USING_BUFFER,
ancestorNotifier,
autoscroller,
border,
changeSupport,
clientProperties,
flags,
HAS_FOCUS,
IS_DOUBLE_BUFFERED,
IS_OPAQUE,
IS_PAINTING_TILE,
IS_PRINTING,
IS_PRINTING_ALL,
KEYBOARD_BINDINGS_KEY,
listenerList,
maximumSize,
minimumSize,
NEXT_FOCUS,
paintImmediatelyClip,
paintingChild,
preferredSize,
readObjectCallbacks,
REQUEST_FOCUS_DISABLED,
tmpRect,
TOOL_TIP_TEXT_KEY,
ui,
uiClassID,
UNDEFINED_CONDITION,
vetoableChangeSupport,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
component,
containerListener,
containerSerializedDataVersion,
dispatcher,
layoutMgr,
maxSize,
ncomponents,
serialVersionUID |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
assert,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
changeSupport,
componentListener,
componentListenerK,
componentOrientation,
componentSerializedDataVersion,
containerListenerK,
cursor,
dropTarget,
enabled,
eventMask,
focusListener,
focusListenerK,
font,
foreground,
hasFocus,
height,
incRate,
inputMethodListener,
inputMethodListenerK,
isInc,
isPacked,
itemListenerK,
keyListener,
keyListenerK,
LEFT_ALIGNMENT,
locale,
LOCK,
minSize,
mouseListener,
mouseListenerK,
mouseMotionListener,
mouseMotionListenerK,
name,
nameExplicitlySet,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
serialVersionUID,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Constructor Summary | |
SchemaTabbedPane(RdfPicCore core)
|
Method Summary | |
void |
addBuiltin(java.lang.String predName,
CboxMaker cboxMaker)
Adds a CboxMaker to use when when a specified predicate is encountered as builtin. |
void |
addingSchema()
Called when a schema is added. |
private void |
createPane(int schemaIndex)
|
void |
disablingSchema(int schemaIndex)
|
void |
enablingSchema(int schemaIndex)
|
void |
hasJumped(java.lang.String errMsg)
Is called when the load is finished. |
void |
imgVUpdate()
Is called when the vector of images has changed. |
void |
isJumping(int newindex)
Is called when a load request is put. |
(package private) void |
lockInput()
|
private void |
make()
|
void |
remake()
|
void |
removeBuiltin(java.lang.String predName)
|
void |
setVal(int schemaIndex,
int predicateIndex,
java.lang.String val)
|
java.lang.String |
valOf(int schemaIndex,
int predicateIndex)
|
Methods inherited from class javax.swing.JTabbedPane |
add,
add,
add,
add,
add,
addChangeListener,
addTab,
addTab,
addTab,
createChangeListener,
fireStateChanged,
getAccessibleContext,
getBackgroundAt,
getBoundsAt,
getComponentAt,
getDisabledIconAt,
getForegroundAt,
getIconAt,
getModel,
getSelectedComponent,
getSelectedIndex,
getTabCount,
getTabPlacement,
getTabRunCount,
getTitleAt,
getToolTipText,
getUI,
getUIClassID,
indexOfComponent,
indexOfTab,
indexOfTab,
insertTab,
isEnabledAt,
paramString,
remove,
removeAll,
removeChangeListener,
removeTabAt,
setBackgroundAt,
setComponentAt,
setDisabledIconAt,
setEnabledAt,
setForegroundAt,
setIconAt,
setModel,
setSelectedComponent,
setSelectedIndex,
setTabPlacement,
setTitleAt,
setUI,
updateUI,
writeObject |
Methods inherited from class javax.swing.JComponent |
_paintImmediately,
|
Methods inherited from class java.awt.Container |
addContainerListener,
addImpl,
applyOrientation,
countComponents,
deliverEvent,
dispatchEventImpl,
dispatchEventToSelf,
doLayout,
eventEnabled,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents_NoClientCode,
getComponents,
getCursorTarget,
getLayout,
getMouseEventTarget,
getWindow,
initIDs,
insets,
invalidate,
invalidateTree,
isAncestorOf,
layout,
lightweightPrint,
list,
list,
locate,
minimumSize,
nextFocus,
paintComponents,
postProcessKeyEvent,
postsOldMouseEvents,
preferredSize,
preProcessKeyEvent,
printComponents,
printHeavyweightComponents,
printOneComponent,
processContainerEvent,
processEvent,
proxyEnableEvents,
proxyRequestFocus,
remove,
removeContainerListener,
setCursor,
setFocusOwner,
setLayout,
transferFocus,
updateCursor,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
areInputMethodsEnabled,
bounds,
checkImage,
checkImage,
coalesceEvents,
constructComponentName,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
getBackground,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getInputContext,
getInputMethodRequests,
getIntrinsicCursor,
getLocale,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getToolkit,
getToolkitImpl,
getTreeLock,
getWindowForObject,
gotFocus,
handleEvent,
hide,
imageUpdate,
inside,
isDisplayable,
isEnabled,
isEnabledImpl,
isLightweight,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
processComponentEvent,
processInputMethodEvent,
processMouseEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
repaint,
repaint,
repaint,
resize,
resize,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
static java.awt.Font font
javax.swing.JComboBox[][] dialog
javax.swing.JCheckBox[][] persistent
javax.swing.JScrollPane[] tabs
RdfPicCore core
java.util.TreeMap builtinMap
Constructor Detail |
public SchemaTabbedPane(RdfPicCore core)
Method Detail |
public void imgVUpdate()
public void addBuiltin(java.lang.String predName, CboxMaker cboxMaker)
public void removeBuiltin(java.lang.String predName)
public java.lang.String valOf(int schemaIndex, int predicateIndex)
public void setVal(int schemaIndex, int predicateIndex, java.lang.String val)
public void remake()
private void make()
private void createPane(int schemaIndex)
public void disablingSchema(int schemaIndex)
public void enablingSchema(int schemaIndex)
public void addingSchema()
void lockInput()
public void isJumping(int newindex)
newindex
- Index of the file being loaded.public void hasJumped(java.lang.String errMsg)
errMsg
- null on success, explanation on error.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |