private void setTypeFromCurrent() {
   switch (mItemType) {
     case DrawingActivity.SYMBOL_POINT:
       // if ( TDSetting.mLevelOverBasic )
       {
         mParent.pointSelected(mParent.mCurrentPoint, false);
         // mSeekBar.setEnabled( DrawingBrushPaths.mPointLib.isPointOrientable(
         // mParent.mCurrentPoint ) );
       }
       break;
     case DrawingActivity.SYMBOL_LINE:
       if (mPlotType != PlotInfo.PLOT_SECTION) {
         mParent.lineSelected(mParent.mCurrentLine, false);
       } else {
       }
       break;
     case DrawingActivity.SYMBOL_AREA:
       // if ( TDSetting.mLevelOverBasic )
       {
         mParent.areaSelected(mParent.mCurrentArea, false);
       }
       break;
   }
   setTypeAndItem(getAdapterPosition());
   setTheTitle();
 }
 private void itemSelected() {
   switch (mItemType) {
     case DrawingActivity.SYMBOL_POINT:
       // if ( TDSetting.mLevelOverBasic )
       {
         mParent.pointSelected(mParent.mCurrentPoint, true);
       }
       break;
     case DrawingActivity.SYMBOL_LINE:
       mParent.lineSelected(mParent.mCurrentLine, true);
       break;
     case DrawingActivity.SYMBOL_AREA:
       // if ( TDSetting.mLevelOverBasic )
       {
         mParent.areaSelected(mParent.mCurrentArea, true);
       }
       break;
   }
 }
 // pos
 public void setTypeAndItem(int index) {
   // Log.v( TDLog.TAG, "setTypeAndItem type " + mItemType  + " item " + index );
   ItemSymbol is;
   switch (mItemType) {
     case DrawingActivity.SYMBOL_POINT:
       if (mPointAdapter != null /* && TDSetting.mLevelOverBasic */) {
         is = mPointAdapter.get(index);
         // Log.v( TDLog.TAG, "setTypeAndItem type point pos " + index + " index " + is.mIndex );
         mParent.mCurrentPoint = is.mIndex;
         mParent.pointSelected(is.mIndex, false); // mPointAdapter.getSelectedItem() );
         setSeekBarProgress();
       }
       break;
     case DrawingActivity.SYMBOL_LINE:
       if (mLineAdapter != null) {
         is = mLineAdapter.get(index);
         // Log.v( TDLog.TAG, "setTypeAndItem type line pos " + index + " index " + is.mIndex );
         if (mPlotType != PlotInfo.PLOT_SECTION
             || is.mIndex != DrawingBrushPaths.mLineLib.mLineSectionIndex) {
           mParent.mCurrentLine = is.mIndex;
           mParent.lineSelected(is.mIndex, false); // mLineAdapter.getSelectedItem() );
         } else {
         }
         mSeekBar.setEnabled(false);
       }
       break;
     case DrawingActivity.SYMBOL_AREA:
       if (mAreaAdapter != null /* && TDSetting.mLevelOverBasic */) {
         // mAreaPos = index;
         is = mAreaAdapter.get(index);
         mParent.mCurrentArea = is.mIndex;
         mParent.areaSelected(is.mIndex, false); // mAreaAdapter.getSelectedItem() );
         mSeekBar.setEnabled(false);
       }
       break;
   }
   // cancel();
 }