diff --git a/AndroidTimetableView/.idea/caches/build_file_checksums.ser b/AndroidTimetableView/.idea/caches/build_file_checksums.ser index 542884d..26af507 100644 Binary files a/AndroidTimetableView/.idea/caches/build_file_checksums.ser and b/AndroidTimetableView/.idea/caches/build_file_checksums.ser differ diff --git a/AndroidTimetableView/.idea/misc.xml b/AndroidTimetableView/.idea/misc.xml index 7aa454e..0b49cfc 100644 --- a/AndroidTimetableView/.idea/misc.xml +++ b/AndroidTimetableView/.idea/misc.xml @@ -1,7 +1,7 @@ - - + diff --git a/AndroidTimetableView/TimetableView/build.gradle b/AndroidTimetableView/TimetableView/build.gradle index f46a54a..01b8c53 100644 --- a/AndroidTimetableView/TimetableView/build.gradle +++ b/AndroidTimetableView/TimetableView/build.gradle @@ -55,7 +55,7 @@ publish { repoName='Maven' groupId = 'com.zhuangfei'//jcenter上的路径 artifactId = 'TimetableView'//项目名称 - publishVersion = '2.0.3'//版本号 + publishVersion = '2.0.4'//版本号 desc = 'A beautiful Android based curriculum schedule widget'//描述,不重要 website = 'https://github.com/zfman/TimetableView'//网站,不重要;尽量模拟github上的地址,例如我这样的;当然你有地址最好了 } diff --git a/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/model/ScheduleSupport.java b/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/model/ScheduleSupport.java index 20b6e2f..edfad23 100644 --- a/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/model/ScheduleSupport.java +++ b/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/model/ScheduleSupport.java @@ -263,48 +263,21 @@ public static List getAllSubjectsWithDay(List scheduleList, */ public static List findSubjects(Schedule subject, List data) { List result = new ArrayList<>(); + if(subject==null||data==null) return result; for (int i = 0; i < data.size(); i++) { Schedule bean = data.get(i); if (bean.getStart() >= subject.getStart() && bean.getStart() < (subject.getStart() + subject.getStep())) result.add(data.get(i)); - } return result; } - /** - * 返回index处的课程,注意他的真实位置可能并不是index - * - * @param curWeek - * @return - */ - public static Schedule findRealSubject(int start, int curWeek, List scheduleList) { - List list = new ArrayList<>(); - for (int i = 0; i < scheduleList.size(); i++) { - Schedule subject = scheduleList.get(i); - if (subject.getStart() == start) { - list.add(subject); - } - } - - for (int i = 0; i < list.size(); i++) { - Schedule temp = list.get(i); - if (isThisWeek(temp, curWeek)) { - return temp; - } - } - if (list.size() > 0) return list.get(0); - return null; - } - /** * 按照上课节次排序 * * @param data */ public static void sortList(List[] data) { - int min; - Schedule tmp; for (int i = 0; i < data.length; i++) sortList(data[i]); } @@ -345,29 +318,11 @@ public static boolean isThisWeek(Schedule subject, int cur_week) { * @return */ public static List fliterSchedule(List data, int curWeek, boolean isShowNotCurWeek) { - List filterData = new ArrayList<>(); - if (data == null) return filterData; - - if (isShowNotCurWeek) filterData = data; - else { - for (Schedule schedule : data) { - if (ScheduleSupport.isThisWeek(schedule, curWeek)) { - filterData.add(schedule); - } - } - } + if (data == null) return new ArrayList<>(); Set result = new HashSet<>(); - for (int i = 0; i < filterData.size(); i++) { - Schedule s = filterData.get(i); - if (s != null) { - s.putExtras("zfman_count", 0); - } - } - if (data.size() >= 1) { result.add(data.get(0)); } - for (int i = 1; i < data.size(); i++) { Schedule s = data.get(i); for (int j = 0; j < i; j++) { @@ -378,11 +333,6 @@ public static List fliterSchedule(List data, int curWeek, bo result.remove(s2); result.add(s); } - } else { - if (ScheduleSupport.isThisWeek(s, curWeek)) { - s.putExtras("zfman_count", (int) (s.getExtras().get("zfman_count")) + 1); - s2.putExtras("zfman_count", (int) (s2.getExtras().get("zfman_count")) + 1); - } } } else { result.add(s); diff --git a/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/operater/SimpleOperater.java b/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/operater/SimpleOperater.java index 4d28355..1bb1d2a 100644 --- a/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/operater/SimpleOperater.java +++ b/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/operater/SimpleOperater.java @@ -139,7 +139,7 @@ public void newSlideView(LinearLayout slidelayout) { * @param curWeek 当前周 * @return View */ - private View newItemView(final List data, final Schedule subject, Schedule pre, int i, int curWeek) { + private View newItemView(final List originData, final List data, final Schedule subject, Schedule pre, int i, int curWeek) { //宽高 int width = LinearLayout.LayoutParams.MATCH_PARENT; int height = mView.itemHeight() * subject.getStep() + mView.marTop() * (subject.getStep() - 1); @@ -179,7 +179,14 @@ private View newItemView(final List data, final Schedule subject, Sche gd.setColor(mView.colorPool().getColorAutoWithAlpha(subject.getColorRandom(), mView.itemAlpha())); gd.setCornerRadius(mView.corner(true)); - int count = (int) subject.getExtras().get("zfman_count"); + List clist = ScheduleSupport.findSubjects(subject, originData); + int count =0; + if(clist!=null){ + for(int k=0;k 1) { countTextView.setVisibility(View.VISIBLE); countTextView.setText(count + ""); @@ -196,7 +203,7 @@ private View newItemView(final List data, final Schedule subject, Sche textView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - List result = ScheduleSupport.findSubjects(subject, data); + List result = ScheduleSupport.findSubjects(subject, originData); mView.onItemClickListener().onItemClick(v, result); } }); @@ -229,7 +236,7 @@ private void addToLayout(LinearLayout layout, final List data, int cur layout.setTag(filter.size()); for (int i = 0; i < filter.size(); i++) { final Schedule subject = filter.get(i); - View view = newItemView(filter, subject, pre, i, curWeek); + View view = newItemView(data,filter, subject, pre, i, curWeek); if (view != null) { layout.addView(view); pre = subject; diff --git a/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/view/WeekView.java b/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/view/WeekView.java index 308fdf8..37396dc 100644 --- a/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/view/WeekView.java +++ b/AndroidTimetableView/TimetableView/src/com/zhuangfei/timetable/view/WeekView.java @@ -180,6 +180,9 @@ private void initView() { */ @Override public WeekView showView() { + if(curWeek<1) curWeek(1); + if(curWeek>itemCount()) curWeek=itemCount; + container.removeAllViews(); layouts=new ArrayList<>(); textViews=new ArrayList<>(); diff --git a/AndroidTimetableView/app/release/app-release.apk b/AndroidTimetableView/app/release/app-release.apk index 1980f13..412d913 100644 Binary files a/AndroidTimetableView/app/release/app-release.apk and b/AndroidTimetableView/app/release/app-release.apk differ diff --git a/AndroidTimetableView/app/src/main/java/com/zhuangfei/android_timetableview/views/BaseFuncActivity.java b/AndroidTimetableView/app/src/main/java/com/zhuangfei/android_timetableview/views/BaseFuncActivity.java index f0cc333..59e98b6 100644 --- a/AndroidTimetableView/app/src/main/java/com/zhuangfei/android_timetableview/views/BaseFuncActivity.java +++ b/AndroidTimetableView/app/src/main/java/com/zhuangfei/android_timetableview/views/BaseFuncActivity.java @@ -199,7 +199,7 @@ public void onClick(DialogInterface dialog, int which) { protected void display(List beans) { String str = ""; for (Schedule bean : beans) { - str += bean.getName() + "、"; + str += bean.getName() + ","+bean.getWeekList().toString()+","+bean.getStart()+","+bean.getStep()+"\n"; } Toast.makeText(this, str, Toast.LENGTH_SHORT).show(); } diff --git a/README.md b/README.md index 6ce8bde..b70337e 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ > 你将了解到该控件用法的方方面面,点击`快速开始`按钮体验吧 - [快速开始](https://github.com/zfman/TimetableView/wiki/%E6%9C%80%E6%96%B0%E6%96%87%E6%A1%A3) -- [Javadocs](http://www.liuzhuangfei.com/github/timetableview/docs/v2.0.3/) -- [示例app下载](https://raw.githubusercontent.com/zfman/TimetableView/master/apks/v2.0.3.apk) +- [Javadocs](http://www.liuzhuangfei.com/github/timetableview/docs/v2.0.4/) +- [示例app下载](https://raw.githubusercontent.com/zfman/TimetableView/master/apks/v2.0.4.apk) - [变更历史](https://github.com/zfman/TimetableView/wiki/%E7%89%88%E6%9C%AC%E8%AF%B4%E6%98%8E) 历史版本的文档可以在 [历史文档以及源码结构分析](https://github.com/zfman/TimetableView/wiki) 中找到 diff --git a/apks/v2.0.4.apk b/apks/v2.0.4.apk new file mode 100644 index 0000000..412d913 Binary files /dev/null and b/apks/v2.0.4.apk differ diff --git a/docs/v2.0.4/allclasses-frame.html b/docs/v2.0.4/allclasses-frame.html new file mode 100644 index 0000000..f0b2125 --- /dev/null +++ b/docs/v2.0.4/allclasses-frame.html @@ -0,0 +1,55 @@ + + + + + + +所有类 + + + + + +

所有类

+ + + diff --git a/docs/v2.0.4/allclasses-noframe.html b/docs/v2.0.4/allclasses-noframe.html new file mode 100644 index 0000000..778bbe6 --- /dev/null +++ b/docs/v2.0.4/allclasses-noframe.html @@ -0,0 +1,55 @@ + + + + + + +所有类 + + + + + +

所有类

+ + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/TimetableView.html b/docs/v2.0.4/com/zhuangfei/timetable/TimetableView.html new file mode 100644 index 0000000..415048e --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/TimetableView.html @@ -0,0 +1,1860 @@ + + + + + + +TimetableView + + + + + + + + + + + + +
+
com.zhuangfei.timetable
+

类 TimetableView

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.view.View
    • +
    • +
        +
      • android.view.ViewGroup
      • +
      • +
          +
        • android.widget.LinearLayout
        • +
        • +
            +
          • com.zhuangfei.timetable.TimetableView
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      嵌套类概要

      +
        +
      • + + +

        从类继承的嵌套类/接口 android.widget.LinearLayout

        +android.widget.LinearLayout.LayoutParams
      • +
      +
        +
      • + + +

        从类继承的嵌套类/接口 android.view.ViewGroup

        +android.view.ViewGroup.MarginLayoutParams, android.view.ViewGroup.OnHierarchyChangeListener
      • +
      +
        +
      • + + +

        从类继承的嵌套类/接口 android.view.View

        +android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnCapturedPointerListener, android.view.View.OnClickListener, android.view.View.OnContextClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnScrollChangeListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener
      • +
      +
    • +
    + +
      +
    • + + +

      字段概要

      +
        +
      • + + +

        从类继承的字段 android.widget.LinearLayout

        +HORIZONTAL, SHOW_DIVIDER_BEGINNING, SHOW_DIVIDER_END, SHOW_DIVIDER_MIDDLE, SHOW_DIVIDER_NONE, VERTICAL
      • +
      +
        +
      • + + +

        从类继承的字段 android.view.ViewGroup

        +CLIP_TO_PADDING_MASK, FOCUS_AFTER_DESCENDANTS, FOCUS_BEFORE_DESCENDANTS, FOCUS_BLOCK_DESCENDANTS, LAYOUT_MODE_CLIP_BOUNDS, LAYOUT_MODE_OPTICAL_BOUNDS, PERSISTENT_ALL_CACHES, PERSISTENT_ANIMATION_CACHE, PERSISTENT_NO_CACHE, PERSISTENT_SCROLLING_CACHE
      • +
      +
        +
      • + + +

        从类继承的字段 android.view.View

        +ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
      • +
      +
    • +
    + +
      +
    • + + +

      构造器概要

      + + + + + + + + +
      构造器 
      构造器和说明
      TimetableView(android.content.Context context, + android.util.AttributeSet attrs) +
      初始化
      +
      +
    • +
    + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      TimetableViewalpha(float allAlpha) +
      将三个透明度统一设置
      +
      TimetableViewalpha(float dateAlpha, + float slideAlpha, + float itemAlpha) +
      透明度设置
      +
      TimetableViewcallback(ISchedule.OnDateBuildListener onDateBuildListener) +
      设置日期栏构建监听器
      +
      TimetableViewcallback(ISchedule.OnFlaglayoutClickListener onFlaglayoutClickListener) +
      设置旗标布局点击监听器
      +
      TimetableViewcallback(ISchedule.OnItemBuildListener onItemBuildListener) +
      设置课程项构建监听器
      +
      TimetableViewcallback(ISchedule.OnItemClickListener onItemClickListener) +
      设置Item点击监听器
      +
      TimetableViewcallback(ISchedule.OnItemLongClickListener onItemLongClickListener) +
      设置课程项长按监听器
      +
      TimetableViewcallback(ISchedule.OnScrollViewBuildListener onScrollViewBuildListener) +
      设置滚动布局构建监听器
      +
      TimetableViewcallback(ISchedule.OnSlideBuildListener onSlideBuildListener) +
      设置侧边栏构建监听器
      +
      TimetableViewcallback(ISchedule.OnSpaceItemClickListener onSpaceItemClickListener) +
      设置空白格子点击监听器,点击之后会出现一个旗标布局
      +
      TimetableViewcallback(ISchedule.OnWeekChangedListener onWeekChangedListener) +
      设置周次改变监听器
      +
      voidchangeWeek(int week, + boolean isCurWeek) +
      周次切换
      +
      voidchangeWeekForce(int week) +
      切换周次且修改为当前周
      +
      voidchangeWeekOnly(int week) +
      仅仅切换周次,不修改当前周
      +
      ScheduleColorPoolcolorPool() +
      获取颜色池
      +
      intcorner(boolean isThisWeek) +
      获取课程角度
      +
      TimetableViewcorner(int corner, + boolean isThisWeek) +
      课程角度设置
      +
      TimetableViewcornerAll(int cornerValue) +
      设置本周、非本周相同的弧度
      +
      java.lang.StringcurTerm() +
      获取当前学期
      +
      TimetableViewcurTerm(java.lang.String curTerm) +
      设置当前学期
      +
      intcurWeek() +
      获取当前周
      +
      TimetableViewcurWeek(int curWeek) +
      设置当前周
      +
      TimetableViewcurWeek(java.lang.String startTime) +
      设置开学时间来计算当前周
      +
      TimetableViewdata(java.util.List<Schedule> dataSource) +
      设置数据源
      +
      java.util.List<Schedule>dataSource() +
      获取数据源
      +
      floatdateAlpha() +
      获取日期栏透明度
      +
      intdp2px(int dp) +
      dp->px
      +
      intflagBgcolor() +
      获取旗标布局背景颜色
      +
      TimetableViewflagBgcolor(int color) +
      设置旗标布局背景颜色
      +
      android.widget.LinearLayoutflagLayout() +
      获取旗标布局
      +
      voidhideDateView() +
      将日期栏设为隐藏状态
      +
      TimetableViewhideFlaglayout() +
      隐藏旗标布局,立即生效
      +
      booleanisShowFlaglayout() +
      获取是否显示旗标布局
      +
      TimetableViewisShowFlaglayout(boolean isShowFlaglayout) +
      设置是否显示旗标布局
      +
      booleanisShowNotCurWeek() +
      判断是否显示非本周课程
      +
      TimetableViewisShowNotCurWeek(boolean showNotCurWeek) +
      设置是否显示非本周课程
      +
      booleanisShowWeekends() 
      TimetableViewisShowWeekends(boolean isShowWeekends) +
      是否显示周末
      +
      floatitemAlpha() +
      获取课程项透明度
      +
      intitemHeight() +
      获取课程项的高度
      +
      TimetableViewitemHeight(int itemHeightPx) +
      设置课程项的高度
      +
      TimetableViewitemTextColor(int color, + boolean isThisWeek) +
      课程项文本颜色
      +
      intitemTextColorWithNotThis() +
      获取非本周课程项文本颜色
      +
      intitemTextColorWithThisWeek() +
      获取本周课程项文本颜色
      +
      intmarLeft() +
      获取左边距
      +
      TimetableViewmarLeft(int marLeftPx) +
      设置左边距值
      +
      intmarTop() +
      获取上边距
      +
      TimetableViewmarTop(int marTopPx) +
      设置上边距值
      +
      intmaxSlideItem() +
      获取最大节次
      +
      TimetableViewmaxSlideItem(int maxSlideItem) +
      设置最大节次
      +
      intmonthWidth() +
      获取侧边栏宽度px
      +
      TimetableViewmonthWidthDp(int monthWidthDp) +
      设置侧边栏宽度dp
      +
      TimetableViewmonthWidthPx(int monthWidthPx) +
      设置侧边栏宽度px
      +
      ISchedule.OnDateBuildListeneronDateBuildListener() +
      获取日期栏构建监听器
      +
      ISchedule.OnFlaglayoutClickListeneronFlaglayoutClickListener() +
      获取旗标布局点击监听器
      +
      ISchedule.OnItemBuildListeneronItemBuildListener() +
      获取Item构建监听器
      +
      ISchedule.OnItemClickListeneronItemClickListener() +
      获取Item点击监听
      +
      ISchedule.OnItemLongClickListeneronItemLongClickListener() +
      获取课程项长按监听器
      +
      ISchedule.OnScrollViewBuildListeneronScrollViewBuildListener() +
      获取滚动布局构建监听器
      +
      ISchedule.OnSlideBuildListeneronSlideBuildListener() +
      获取侧边栏构建监听
      +
      ISchedule.OnSpaceItemClickListeneronSpaceItemClickListener() +
      获取空白格子点击监听器
      +
      ISchedule.OnWeekChangedListeneronWeekChangedListener() +
      获取周次改变监听器
      +
      AbsOperateroperater() 
      TimetableViewoperater(AbsOperater operater) 
      TimetableViewresetFlagBgcolor() +
      重置旗标布局背景色
      +
      voidshowDateView() +
      将日期栏设为可见状态
      +
      TimetableViewshowFlaglayout() +
      显示旗标布局,立即生效
      +
      voidshowView() 
      floatslideAlpha() +
      获取侧边栏透明度
      +
      TimetableViewsource(java.util.List<? extends ScheduleEnable> dataSource) +
      设置数据源
      +
      TimetableViewthisWeekCorner(int thisWeekCorner) +
      设置本周课程的弧度
      +
      voidupdateDateView() +
      更新日期栏
      +
      voidupdateFlaglayout() +
      更新旗标布局的背景色
      +
      voidupdateSlideView() +
      侧边栏更新
      +
      voidupdateView() +
      等同于showView()
      +
      +
        +
      • + + +

        从类继承的方法 android.widget.LinearLayout

        +checkLayoutParams, generateDefaultLayoutParams, generateLayoutParams, generateLayoutParams, getAccessibilityClassName, getBaseline, getBaselineAlignedChildIndex, getDividerDrawable, getDividerPadding, getGravity, getOrientation, getShowDividers, getWeightSum, isBaselineAligned, isMeasureWithLargestChildEnabled, onDraw, onLayout, onMeasure, onRtlPropertiesChanged, setBaselineAligned, setBaselineAlignedChildIndex, setDividerDrawable, setDividerPadding, setGravity, setHorizontalGravity, setMeasureWithLargestChildEnabled, setOrientation, setShowDividers, setVerticalGravity, setWeightSum, shouldDelayChildPressedState
      • +
      +
        +
      • + + +

        从类继承的方法 android.view.ViewGroup

        +addChildrenForAccessibility, addFocusables, addKeyboardNavigationClusters, addStatesFromChildren, addTouchables, addView, addView, addView, addView, addView, addViewInLayout, addViewInLayout, attachLayoutAnimationParameters, attachViewToParent, bringChildToFront, canAnimate, childDrawableStateChanged, childHasTransientStateChanged, cleanupLayoutState, clearChildFocus, clearDisappearingChildren, clearFocus, debug, detachAllViewsFromParent, detachViewFromParent, detachViewFromParent, detachViewsFromParent, dispatchApplyWindowInsets, dispatchCapturedPointerEvent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDraw, dispatchDrawableHotspotChanged, dispatchFreezeSelfOnly, dispatchGenericFocusedEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchPointerCaptureChanged, dispatchProvideAutofillStructure, dispatchProvideStructure, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchThawSelfOnly, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableStateChanged, drawChild, endViewTransition, findFocus, findViewsWithText, focusableViewAvailable, focusSearch, gatherTransparentRegion, getChildAt, getChildCount, getChildDrawingOrder, getChildMeasureSpec, getChildStaticTransformation, getChildVisibleRect, getClipChildren, getClipToPadding, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getLayoutMode, getLayoutTransition, getNestedScrollAxes, getOverlay, getPersistentDrawingCache, getTouchscreenBlocksFocus, hasFocus, hasTransientState, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isChildrenDrawingOrderEnabled, isChildrenDrawnWithCacheEnabled, isMotionEventSplittingEnabled, isTransitionGroup, jumpDrawablesToCurrentState, layout, measureChild, measureChildren, measureChildWithMargins, notifySubtreeAccessibilityStateChanged, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onAttachedToWindow, onCreateDrawableState, onDescendantInvalidated, onDetachedFromWindow, onInterceptHoverEvent, onInterceptTouchEvent, onNestedFling, onNestedPreFling, onNestedPrePerformAccessibilityAction, onNestedPreScroll, onNestedScroll, onNestedScrollAccepted, onRequestFocusInDescendants, onRequestSendAccessibilityEvent, onResolvePointerIcon, onStartNestedScroll, onStopNestedScroll, onViewAdded, onViewRemoved, recomputeViewAttributes, removeAllViews, removeAllViewsInLayout, removeDetachedView, removeView, removeViewAt, removeViewInLayout, removeViews, removeViewsInLayout, requestChildFocus, requestChildRectangleOnScreen, requestDisallowInterceptTouchEvent, requestFocus, requestSendAccessibilityEvent, requestTransparentRegion, restoreDefaultFocus, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setChildrenDrawingCacheEnabled, setChildrenDrawingOrderEnabled, setChildrenDrawnWithCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setLayoutMode, setLayoutTransition, setMotionEventSplittingEnabled, setOnHierarchyChangeListener, setPersistentDrawingCache, setStaticTransformationsEnabled, setTouchscreenBlocksFocus, setTransitionGroup, showContextMenuForChild, showContextMenuForChild, startActionModeForChild, startActionModeForChild, startLayoutAnimation, startViewTransition, updateViewLayout
      • +
      +
        +
      • + + +

        从类继承的方法 android.view.View

        +addExtraDataToAccessibilityNodeInfo, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchFinishTemporaryDetach, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, dispatchStartTemporaryDetach, draw, drawableHotspotChanged, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateViewId, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getApplicationWindowToken, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintList, getBackgroundTintMode, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getImportantForAutofill, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineProvider, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOverlappingRendering, hasPointerCapture, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, keyboardNavigationClusterSearch, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onDisplayHint, onDragEvent, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideStructure, onProvideVirtualStructure, onRestoreInstanceState, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAlpha, setAnimation, setAutofillHints, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForeground, setForegroundGravity, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineProvider, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateListAnimator, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionName, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw
      • +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
        +
      • + + +

        从接口继承的方法 android.view.ViewParent

        +canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, createContextMenu, getLayoutDirection, getParent, getParentForAccessibility, getTextAlignment, getTextDirection, isLayoutDirectionResolved, isLayoutRequested, isTextAlignmentResolved, isTextDirectionResolved, keyboardNavigationClusterSearch, requestFitSystemWindows, requestLayout
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        TimetableView

        +
        public TimetableView(android.content.Context context,
        +                     android.util.AttributeSet attrs)
        +
        初始化
        +
        +
        参数:
        +
        context -
        +
        attrs -
        +
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        isShowWeekends

        +
        public TimetableView isShowWeekends(boolean isShowWeekends)
        +
        是否显示周末
        +
        +
        参数:
        +
        isShowWeekends -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        isShowWeekends

        +
        public boolean isShowWeekends()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        monthWidthDp

        +
        public TimetableView monthWidthDp(int monthWidthDp)
        +
        设置侧边栏宽度dp
        +
        +
        参数:
        +
        monthWidthDp -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        monthWidthPx

        +
        public TimetableView monthWidthPx(int monthWidthPx)
        +
        设置侧边栏宽度px
        +
        +
        参数:
        +
        monthWidthPx -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        monthWidth

        +
        public int monthWidth()
        +
        获取侧边栏宽度px
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        itemTextColor

        +
        public TimetableView itemTextColor(int color,
        +                                   boolean isThisWeek)
        +
        课程项文本颜色
        +
        +
        参数:
        +
        color - 颜色
        +
        isThisWeek - 是否本周,true:设置当前周文本颜色,false:设置非本周文本颜色
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        itemTextColorWithThisWeek

        +
        public int itemTextColorWithThisWeek()
        +
        获取本周课程项文本颜色
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        itemTextColorWithNotThis

        +
        public int itemTextColorWithNotThis()
        +
        获取非本周课程项文本颜色
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        itemAlpha

        +
        public float itemAlpha()
        +
        获取课程项透明度
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        slideAlpha

        +
        public float slideAlpha()
        +
        获取侧边栏透明度
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        dateAlpha

        +
        public float dateAlpha()
        +
        获取日期栏透明度
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        alpha

        +
        public TimetableView alpha(float dateAlpha,
        +                           float slideAlpha,
        +                           float itemAlpha)
        +
        透明度设置
        +
        +
        参数:
        +
        dateAlpha - 日期栏透明度
        +
        slideAlpha - 侧边栏透明度
        +
        itemAlpha - 课程项透明度
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        alpha

        +
        public TimetableView alpha(float allAlpha)
        +
        将三个透明度统一设置
        +
        +
        参数:
        +
        allAlpha - 日期栏、侧边栏、课程项的透明度
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        flagBgcolor

        +
        public TimetableView flagBgcolor(int color)
        +
        设置旗标布局背景颜色
        +
        +
        参数:
        +
        color -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        resetFlagBgcolor

        +
        public TimetableView resetFlagBgcolor()
        +
        重置旗标布局背景色
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        isShowFlaglayout

        +
        public boolean isShowFlaglayout()
        +
        获取是否显示旗标布局
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        isShowFlaglayout

        +
        public TimetableView isShowFlaglayout(boolean isShowFlaglayout)
        +
        设置是否显示旗标布局
        +
        +
        参数:
        +
        isShowFlaglayout -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        flagBgcolor

        +
        public int flagBgcolor()
        +
        获取旗标布局背景颜色
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        flagLayout

        +
        public android.widget.LinearLayout flagLayout()
        +
        获取旗标布局
        +
        +
        返回:
        +
        +
      • +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        +
      • +

        curWeek

        +
        public TimetableView curWeek(int curWeek)
        +
        设置当前周
        +
        +
        参数:
        +
        curWeek - 当前周
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        curWeek

        +
        public TimetableView curWeek(java.lang.String startTime)
        +
        设置开学时间来计算当前周
        +
        +
        参数:
        +
        startTime - 满足"yyyy-MM-dd HH:mm:ss"模式的字符串
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        curWeek

        +
        public int curWeek()
        +
        获取当前周
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        curTerm

        +
        public TimetableView curTerm(java.lang.String curTerm)
        +
        设置当前学期
        +
        +
        参数:
        +
        curTerm -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        curTerm

        +
        public java.lang.String curTerm()
        +
        获取当前学期
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        dataSource

        +
        public java.util.List<Schedule> dataSource()
        +
        获取数据源
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        data

        +
        public TimetableView data(java.util.List<Schedule> dataSource)
        +
        设置数据源
        +
        +
        参数:
        +
        dataSource -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        source

        +
        public TimetableView source(java.util.List<? extends ScheduleEnable> dataSource)
        +
        设置数据源
        +
        +
        参数:
        +
        dataSource -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        maxSlideItem

        +
        public TimetableView maxSlideItem(int maxSlideItem)
        +
        设置最大节次
        +
        +
        参数:
        +
        maxSlideItem - 最大节次
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        maxSlideItem

        +
        public int maxSlideItem()
        +
        获取最大节次
        +
        +
        返回:
        +
        最大节次
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        thisWeekCorner

        +
        public TimetableView thisWeekCorner(int thisWeekCorner)
        +
        设置本周课程的弧度
        +
        +
        参数:
        +
        thisWeekCorner - 弧度
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        cornerAll

        +
        public TimetableView cornerAll(int cornerValue)
        +
        设置本周、非本周相同的弧度
        +
        +
        参数:
        +
        cornerValue - 弧度
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        corner

        +
        public TimetableView corner(int corner,
        +                            boolean isThisWeek)
        +
        课程角度设置
        +
        +
        参数:
        +
        corner - 角度px
        +
        isThisWeek - 是否本周上
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        corner

        +
        public int corner(boolean isThisWeek)
        +
        获取课程角度
        +
        +
        参数:
        +
        isThisWeek - 是否本周上
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        isShowNotCurWeek

        +
        public TimetableView isShowNotCurWeek(boolean showNotCurWeek)
        +
        设置是否显示非本周课程
        +
        +
        参数:
        +
        showNotCurWeek - 如果为true,将显示非本周,否则隐藏非本周
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        isShowNotCurWeek

        +
        public boolean isShowNotCurWeek()
        +
        判断是否显示非本周课程
        +
        +
        返回:
        +
        true:显示,false:不显示
        +
        +
      • +
      + + + + + + + +
        +
      • +

        dp2px

        +
        public int dp2px(int dp)
        +
        dp->px
        +
        +
        参数:
        +
        dp -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        marTop

        +
        public TimetableView marTop(int marTopPx)
        +
        设置上边距值
        +
        +
        参数:
        +
        marTopPx -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        marLeft

        +
        public TimetableView marLeft(int marLeftPx)
        +
        设置左边距值
        +
        +
        参数:
        +
        marLeftPx -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        itemHeight

        +
        public TimetableView itemHeight(int itemHeightPx)
        +
        设置课程项的高度
        +
        +
        参数:
        +
        itemHeightPx -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        itemHeight

        +
        public int itemHeight()
        +
        获取课程项的高度
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        marLeft

        +
        public int marLeft()
        +
        获取左边距
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        marTop

        +
        public int marTop()
        +
        获取上边距
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        updateView

        +
        public void updateView()
        +
        等同于showView()
        +
        +
        另请参阅:
        +
        showView()
        +
        +
      • +
      + + + +
        +
      • +

        hideFlaglayout

        +
        public TimetableView hideFlaglayout()
        +
        隐藏旗标布局,立即生效
        +
      • +
      + + + +
        +
      • +

        showFlaglayout

        +
        public TimetableView showFlaglayout()
        +
        显示旗标布局,立即生效
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        hideDateView

        +
        public void hideDateView()
        +
        将日期栏设为隐藏状态
        +
      • +
      + + + +
        +
      • +

        showDateView

        +
        public void showDateView()
        +
        将日期栏设为可见状态
        +
      • +
      + + + +
        +
      • +

        updateDateView

        +
        public void updateDateView()
        +
        更新日期栏
        +
      • +
      + + + +
        +
      • +

        updateSlideView

        +
        public void updateSlideView()
        +
        侧边栏更新
        +
      • +
      + + + +
        +
      • +

        changeWeek

        +
        public void changeWeek(int week,
        +                       boolean isCurWeek)
        +
        周次切换
        +
        +
        参数:
        +
        week - 周次
        +
        isCurWeek - 是否强制设置为本周
        +
        +
      • +
      + + + +
        +
      • +

        changeWeekOnly

        +
        public void changeWeekOnly(int week)
        +
        仅仅切换周次,不修改当前周
        +
        +
        参数:
        +
        week -
        +
        +
      • +
      + + + +
        +
      • +

        changeWeekForce

        +
        public void changeWeekForce(int week)
        +
        切换周次且修改为当前周
        +
        +
        参数:
        +
        week -
        +
        +
      • +
      + + + +
        +
      • +

        updateFlaglayout

        +
        public void updateFlaglayout()
        +
        更新旗标布局的背景色
        +
      • +
      + + + +
        +
      • +

        showView

        +
        public void showView()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnDateBuildListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnDateBuildListener.html new file mode 100644 index 0000000..07c34b9 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnDateBuildListener.html @@ -0,0 +1,305 @@ + + + + + + +ISchedule.OnDateBuildListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnDateBuildListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnDateBuildAapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnDateBuildListener
    +
    日期构造监听器
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 抽象方法 
      限定符和类型方法和说明
      android.view.View[]getDateViews(android.view.LayoutInflater mInflate, + float monthWidth, + float perWidth, + int height) +
      获取View数组 + 被废弃,自v2.0.3起该方法无效
      +
      voidonHighLight() +
      为日期栏设置高亮时回调
      +
      voidonInit(android.widget.LinearLayout layout, + float alpha) +
      初始化方法
      +
      voidonUpdateDate(int curWeek, + int targetWeek) +
      更新日期时回调
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onInit

        +
        void onInit(android.widget.LinearLayout layout,
        +            float alpha)
        +
        初始化方法
        +
        +
        参数:
        +
        layout - 日期栏容器
        +
        alpha - 透明度
        +
        +
      • +
      + + + +
        +
      • +

        getDateViews

        +
        android.view.View[] getDateViews(android.view.LayoutInflater mInflate,
        +                                 float monthWidth,
        +                                 float perWidth,
        +                                 int height)
        +
        获取View数组 + 被废弃,自v2.0.3起该方法无效
        +
        +
        参数:
        +
        mInflate - 转换器
        +
        monthWidth - 月份宽度px
        +
        perWidth - 日期每项宽度px
        +
        height - 默认的日期栏高度
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        onHighLight

        +
        void onHighLight()
        +
        为日期栏设置高亮时回调
        +
      • +
      + + + +
        +
      • +

        onUpdateDate

        +
        void onUpdateDate(int curWeek,
        +                  int targetWeek)
        +
        更新日期时回调
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnFlaglayoutClickListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnFlaglayoutClickListener.html new file mode 100644 index 0000000..b610b13 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnFlaglayoutClickListener.html @@ -0,0 +1,239 @@ + + + + + + +ISchedule.OnFlaglayoutClickListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnFlaglayoutClickListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnFlaglayoutClickAdapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnFlaglayoutClickListener
    +
    旗标布局点击监听器
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onFlaglayoutClick

        +
        void onFlaglayoutClick(int day,
        +                       int start)
        +
        当旗标布局被点击时回调
        +
        +
        参数:
        +
        day - 表示周几,0:周一,6:周日
        +
        start - 表示点击空白格子的节次,1:第一节
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemBuildListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemBuildListener.html new file mode 100644 index 0000000..b1c595b --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemBuildListener.html @@ -0,0 +1,272 @@ + + + + + + +ISchedule.OnItemBuildListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnItemBuildListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnItemBuildAdapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnItemBuildListener
    +
    课程项构建时回调
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + +
      所有方法 实例方法 抽象方法 
      限定符和类型方法和说明
      java.lang.StringgetItemText(Schedule schedule, + boolean isThisWeek) +
      构建课程项的文本时回调.
      +
      voidonItemUpdate(android.widget.FrameLayout layout, + android.widget.TextView textView, + android.widget.TextView countTextView, + Schedule schedule, + android.graphics.drawable.GradientDrawable gd) +
      课程项构建完成后回调.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getItemText

        +
        java.lang.String getItemText(Schedule schedule,
        +                             boolean isThisWeek)
        +
        构建课程项的文本时回调.
        +
        +
        参数:
        +
        schedule - 该位置对应的课程实体
        +
        isThisWeek - 该课程是否是本周上
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        onItemUpdate

        +
        void onItemUpdate(android.widget.FrameLayout layout,
        +                  android.widget.TextView textView,
        +                  android.widget.TextView countTextView,
        +                  Schedule schedule,
        +                  android.graphics.drawable.GradientDrawable gd)
        +
        课程项构建完成后回调.
        +
        +
        参数:
        +
        layout - 课程项的帧布局
        +
        textView - 课程项的内容区域
        +
        countTextView - 课程项的角标
        +
        schedule - 课程实体
        +
        gd - 内容区域的背景是使用GradientDrawable来设置的,你可以二次设置
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemClickListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemClickListener.html new file mode 100644 index 0000000..a802f69 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemClickListener.html @@ -0,0 +1,239 @@ + + + + + + +ISchedule.OnItemClickListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnItemClickListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnItemClickAdapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnItemClickListener
    +
    课程项点击监听器
    +
  • +
+
+
+
    +
  • + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onItemClick

        +
        void onItemClick(android.view.View v,
        +                 java.util.List<Schedule> scheduleList)
        +
        当课程项被点击时回调
        +
        +
        参数:
        +
        v -
        +
        scheduleList - 该位置的所有课程
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemLongClickListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemLongClickListener.html new file mode 100644 index 0000000..84b94a1 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnItemLongClickListener.html @@ -0,0 +1,242 @@ + + + + + + +ISchedule.OnItemLongClickListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnItemLongClickListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnItemLongClickAdapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnItemLongClickListener
    +
    课程项长按事件监听器
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 抽象方法 
      限定符和类型方法和说明
      voidonLongClick(android.view.View v, + int day, + int start) +
      当课程项被点击时回调
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onLongClick

        +
        void onLongClick(android.view.View v,
        +                 int day,
        +                 int start)
        +
        当课程项被点击时回调
        +
        +
        参数:
        +
        v -
        +
        day - 星期,1:周一,7:周日
        +
        start - 节次,从1开始
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnScrollViewBuildListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnScrollViewBuildListener.html new file mode 100644 index 0000000..39e6137 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnScrollViewBuildListener.html @@ -0,0 +1,237 @@ + + + + + + +ISchedule.OnScrollViewBuildListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnScrollViewBuildListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnScrollViewBuildAdapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnScrollViewBuildListener
    +
    滚动布局构建监听器
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 抽象方法 
      限定符和类型方法和说明
      android.view.ViewgetScrollView(android.view.LayoutInflater mInflate) +
      构建滚动布局时回调
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getScrollView

        +
        android.view.View getScrollView(android.view.LayoutInflater mInflate)
        +
        构建滚动布局时回调
        +
        +
        参数:
        +
        mInflate -
        +
        返回:
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnSlideBuildListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnSlideBuildListener.html new file mode 100644 index 0000000..2061133 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnSlideBuildListener.html @@ -0,0 +1,270 @@ + + + + + + +ISchedule.OnSlideBuildListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnSlideBuildListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnSlideBuildAdapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnSlideBuildListener
    +
    侧边栏构建监听器
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + +
      所有方法 实例方法 抽象方法 
      限定符和类型方法和说明
      android.view.ViewgetView(int pos, + android.view.LayoutInflater inflater, + int itemHeight, + int marTop) +
      构建每项
      +
      voidonInit(android.widget.LinearLayout layout, + float alpha) +
      初始化方法
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getView

        +
        android.view.View getView(int pos,
        +                          android.view.LayoutInflater inflater,
        +                          int itemHeight,
        +                          int marTop)
        +
        构建每项
        +
        +
        参数:
        +
        pos - 位置
        +
        inflater - 转换器
        +
        itemHeight - 课程项的高度
        +
        marTop - 课程项的marTop值
        +
        返回:
        +
        构建好的一个侧边项
        +
        +
      • +
      + + + +
        +
      • +

        onInit

        +
        void onInit(android.widget.LinearLayout layout,
        +            float alpha)
        +
        初始化方法
        +
        +
        参数:
        +
        layout - 日期栏容器
        +
        alpha - 透明度
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnSpaceItemClickListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnSpaceItemClickListener.html new file mode 100644 index 0000000..16f7b4a --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnSpaceItemClickListener.html @@ -0,0 +1,273 @@ + + + + + + +ISchedule.OnSpaceItemClickListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnSpaceItemClickListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnSpaceItemClickAdapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnSpaceItemClickListener
    +
    空白格子点击监听器
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + +
      所有方法 实例方法 抽象方法 
      限定符和类型方法和说明
      voidonInit(android.widget.LinearLayout flagLayout, + int monthWidth, + int itemWidth, + int itemHeight, + int marTop, + int marLeft) +
      初始化方法
      +
      voidonSpaceItemClick(int day, + int start) +
      当课程项被点击时回调
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onSpaceItemClick

        +
        void onSpaceItemClick(int day,
        +                      int start)
        +
        当课程项被点击时回调
        +
        +
        参数:
        +
        day - 表示周几,0:周一,6:周日
        +
        start - 表示点击空白格子的节次,1:第一节
        +
        +
      • +
      + + + +
        +
      • +

        onInit

        +
        void onInit(android.widget.LinearLayout flagLayout,
        +            int monthWidth,
        +            int itemWidth,
        +            int itemHeight,
        +            int marTop,
        +            int marLeft)
        +
        初始化方法
        +
        +
        参数:
        +
        flagLayout - 一个指示器的布局
        +
        monthWidth - 月份列宽度
        +
        itemWidth - 课程项宽度,itemWidth:是包含了边距的,设置宽度时所以需要减去边距
        +
        itemHeight - 课程项高度
        +
        marTop - 外边距
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnWeekChangedListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnWeekChangedListener.html new file mode 100644 index 0000000..a5150dd --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.OnWeekChangedListener.html @@ -0,0 +1,237 @@ + + + + + + +ISchedule.OnWeekChangedListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule.OnWeekChangedListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnWeekChangedAdapter
    +
    +
    +
    封闭接口:
    +
    ISchedule
    +
    +
    +
    +
    public static interface ISchedule.OnWeekChangedListener
    +
    周次改变监听器
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onWeekChanged

        +
        void onWeekChanged(int curWeek)
        +
        当周次被改变时回调
        +
        +
        参数:
        +
        curWeek - 改变的周次,不一定是当前周,因为切换周次的时候有两种模式: + 仅仅切换周次、强制切换,前者不会更改当前周
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.html new file mode 100644 index 0000000..d9ba82c --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/ISchedule.html @@ -0,0 +1,242 @@ + + + + + + +ISchedule + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 ISchedule

+
+
+
+
    +
  • +
    +
    +
    public interface ISchedule
    +
    与Schedule有关的接口.
    +
  • +
+
+
+ +
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.OnWeekItemClickedListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.OnWeekItemClickedListener.html new file mode 100644 index 0000000..97fc853 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.OnWeekItemClickedListener.html @@ -0,0 +1,236 @@ + + + + + + +IWeekView.OnWeekItemClickedListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 IWeekView.OnWeekItemClickedListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnWeekItemClickedAdapter
    +
    +
    +
    封闭接口:
    +
    IWeekView
    +
    +
    +
    +
    public static interface IWeekView.OnWeekItemClickedListener
    +
    WeekView的Item点击监听器
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onWeekClicked

        +
        void onWeekClicked(int week)
        +
        当Item被点击时回调
        +
        +
        参数:
        +
        week - 选择的周次
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.OnWeekLeftClickedListener.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.OnWeekLeftClickedListener.html new file mode 100644 index 0000000..ae6b61d --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.OnWeekLeftClickedListener.html @@ -0,0 +1,232 @@ + + + + + + +IWeekView.OnWeekLeftClickedListener + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 IWeekView.OnWeekLeftClickedListener

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    OnWeekLeftClickedAdapter
    +
    +
    +
    封闭接口:
    +
    IWeekView
    +
    +
    +
    +
    public static interface IWeekView.OnWeekLeftClickedListener
    +
    WeekView的左侧(设置当前周)的点击监听器
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onWeekLeftClicked

        +
        void onWeekLeftClicked()
        +
        当"设置当前周"按钮被点击时回调
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.html new file mode 100644 index 0000000..87fb5e6 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/IWeekView.html @@ -0,0 +1,200 @@ + + + + + + +IWeekView + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

接口 IWeekView

+
+
+
+
    +
  • +
    +
    +
    public interface IWeekView
    +
    WeekView的相关接口.
    +
  • +
+
+
+ +
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnDateBuildAapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnDateBuildAapter.html new file mode 100644 index 0000000..d415c60 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnDateBuildAapter.html @@ -0,0 +1,587 @@ + + + + + + +OnDateBuildAapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnDateBuildAapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnDateBuildAapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      字段概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      字段 
      限定符和类型字段和说明
      protected floatalpha 
      protected intbackground 
      protected java.lang.String[]dateArray 
      protected android.widget.LinearLayoutlayout 
      protected android.widget.LinearLayout[]layouts 
      protected android.widget.TextView[]textViews 
      protected java.util.List<java.lang.String>weekDates 
      +
    • +
    + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      protected voidactiveDateBackground(int weekDay) 
      android.view.View[]getDateViews(android.view.LayoutInflater mInflate, + float monthWidth, + float perWidth, + int height) +
      获取View数组 + 被废弃,自v2.0.3起该方法无效
      +
      java.lang.String[]getStringArray() +
      返回一个长度为8的数组,第0个位置为null
      +
      protected voidinitDateBackground() 
      protected android.view.ViewonBuildDayLayout(android.view.LayoutInflater mInflate, + int pos, + int width, + int height) 
      protected android.view.ViewonBuildMonthLayout(android.view.LayoutInflater mInflate, + int width, + int height) +
      构建月份,也就是日期栏的第一格.
      +
      voidonHighLight() +
      为日期栏设置高亮时回调
      +
      voidonInit(android.widget.LinearLayout layout, + float alpha) +
      初始化方法
      +
      voidonUpdateDate(int curWeek, + int targetWeek) +
      更新日期时回调
      +
      OnDateBuildAaptersetBackground(int background) 
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      字段详细资料

      + + + +
        +
      • +

        textViews

        +
        protected android.widget.TextView[] textViews
        +
      • +
      + + + +
        +
      • +

        layouts

        +
        protected android.widget.LinearLayout[] layouts
        +
      • +
      + + + +
        +
      • +

        background

        +
        protected int background
        +
      • +
      + + + +
        +
      • +

        alpha

        +
        protected float alpha
        +
      • +
      + + + +
        +
      • +

        dateArray

        +
        protected java.lang.String[] dateArray
        +
      • +
      + + + +
        +
      • +

        weekDates

        +
        protected java.util.List<java.lang.String> weekDates
        +
      • +
      + + + +
        +
      • +

        layout

        +
        protected android.widget.LinearLayout layout
        +
      • +
      +
    • +
    + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        OnDateBuildAapter

        +
        public OnDateBuildAapter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + + + + + + + + + +
        +
      • +

        getDateViews

        +
        public android.view.View[] getDateViews(android.view.LayoutInflater mInflate,
        +                                        float monthWidth,
        +                                        float perWidth,
        +                                        int height)
        +
        从接口复制的说明: ISchedule.OnDateBuildListener
        +
        获取View数组 + 被废弃,自v2.0.3起该方法无效
        +
        +
        指定者:
        +
        getDateViews 在接口中 ISchedule.OnDateBuildListener
        +
        参数:
        +
        mInflate - 转换器
        +
        monthWidth - 月份宽度px
        +
        perWidth - 日期每项宽度px
        +
        height - 默认的日期栏高度
        +
        返回:
        +
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        onBuildMonthLayout

        +
        protected android.view.View onBuildMonthLayout(android.view.LayoutInflater mInflate,
        +                                               int width,
        +                                               int height)
        +
        构建月份,也就是日期栏的第一格.
        + 宽度、高度均为px
        +
        +
        参数:
        +
        mInflate -
        +
        width - 宽度
        +
        height - 默认高度
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        onBuildDayLayout

        +
        protected android.view.View onBuildDayLayout(android.view.LayoutInflater mInflate,
        +                                             int pos,
        +                                             int width,
        +                                             int height)
        +
      • +
      + + + +
        +
      • +

        getStringArray

        +
        public java.lang.String[] getStringArray()
        +
        返回一个长度为8的数组,第0个位置为null
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        initDateBackground

        +
        protected void initDateBackground()
        +
      • +
      + + + +
        +
      • +

        activeDateBackground

        +
        protected void activeDateBackground(int weekDay)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnFlaglayoutClickAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnFlaglayoutClickAdapter.html new file mode 100644 index 0000000..cb8f876 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnFlaglayoutClickAdapter.html @@ -0,0 +1,289 @@ + + + + + + +OnFlaglayoutClickAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnFlaglayoutClickAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnFlaglayoutClickAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voidonFlaglayoutClick(int day, + int start) +
      当旗标布局被点击时回调
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        OnFlaglayoutClickAdapter

        +
        public OnFlaglayoutClickAdapter()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemBuildAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemBuildAdapter.html new file mode 100644 index 0000000..89006dc --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemBuildAdapter.html @@ -0,0 +1,325 @@ + + + + + + +OnItemBuildAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnItemBuildAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnItemBuildAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      java.lang.StringgetItemText(Schedule schedule, + boolean isThisWeek) +
      构建课程项的文本时回调.
      +
      voidonItemUpdate(android.widget.FrameLayout layout, + android.widget.TextView textView, + android.widget.TextView countTextView, + Schedule schedule, + android.graphics.drawable.GradientDrawable gd) +
      课程项构建完成后回调.
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        OnItemBuildAdapter

        +
        public OnItemBuildAdapter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + + + + + +
        +
      • +

        onItemUpdate

        +
        public void onItemUpdate(android.widget.FrameLayout layout,
        +                         android.widget.TextView textView,
        +                         android.widget.TextView countTextView,
        +                         Schedule schedule,
        +                         android.graphics.drawable.GradientDrawable gd)
        +
        从接口复制的说明: ISchedule.OnItemBuildListener
        +
        课程项构建完成后回调.
        +
        +
        指定者:
        +
        onItemUpdate 在接口中 ISchedule.OnItemBuildListener
        +
        参数:
        +
        layout - 课程项的帧布局
        +
        textView - 课程项的内容区域
        +
        countTextView - 课程项的角标
        +
        schedule - 课程实体
        +
        gd - 内容区域的背景是使用GradientDrawable来设置的,你可以二次设置
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemClickAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemClickAdapter.html new file mode 100644 index 0000000..4ada8bb --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemClickAdapter.html @@ -0,0 +1,287 @@ + + + + + + +OnItemClickAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnItemClickAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnItemClickAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voidonItemClick(android.view.View v, + java.util.List<Schedule> scheduleList) +
      当课程项被点击时回调
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemLongClickAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemLongClickAdapter.html new file mode 100644 index 0000000..fa5a72e --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnItemLongClickAdapter.html @@ -0,0 +1,290 @@ + + + + + + +OnItemLongClickAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnItemLongClickAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnItemLongClickAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voidonLongClick(android.view.View v, + int day, + int start) +
      当课程项被点击时回调
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        OnItemLongClickAdapter

        +
        public OnItemLongClickAdapter()
        +
      • +
      +
    • +
    + + +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnScrollViewBuildAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnScrollViewBuildAdapter.html new file mode 100644 index 0000000..3ca7ceb --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnScrollViewBuildAdapter.html @@ -0,0 +1,285 @@ + + + + + + +OnScrollViewBuildAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnScrollViewBuildAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnScrollViewBuildAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      android.view.ViewgetScrollView(android.view.LayoutInflater mInflate) +
      构建滚动布局时回调
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnSlideBuildAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnSlideBuildAdapter.html new file mode 100644 index 0000000..6a421d7 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnSlideBuildAdapter.html @@ -0,0 +1,575 @@ + + + + + + +OnSlideBuildAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnSlideBuildAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnSlideBuildAdapter
    • +
    +
  • +
+
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      字段详细资料

      + + + +
        +
      • +

        times

        +
        protected java.lang.String[] times
        +
      • +
      + + + +
        +
      • +

        textColor

        +
        protected int textColor
        +
      • +
      + + + +
        +
      • +

        textSize

        +
        protected float textSize
        +
      • +
      + + + +
        +
      • +

        timeTextSize

        +
        protected float timeTextSize
        +
      • +
      + + + +
        +
      • +

        timeTextColor

        +
        protected int timeTextColor
        +
      • +
      + + + +
        +
      • +

        background

        +
        protected int background
        +
      • +
      + + + +
        +
      • +

        alpha

        +
        protected float alpha
        +
      • +
      +
    • +
    + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        OnSlideBuildAdapter

        +
        public OnSlideBuildAdapter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        setTimes

        +
        public OnSlideBuildAdapter setTimes(java.lang.String[] times)
        +
        设置时刻数组
        +
        +
        参数:
        +
        times -
        +
        返回:
        +
        +
      • +
      + + + + + + + +
        +
      • +

        getTimes

        +
        public java.lang.String[] getTimes()
        +
        获取时刻数组
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setTextColor

        +
        public OnSlideBuildAdapter setTextColor(int textColor)
        +
        设置节次文本颜色
        +
        +
        参数:
        +
        textColor - 指定颜色
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setTextSize

        +
        public OnSlideBuildAdapter setTextSize(float textSize)
        +
        设置节次文本的大小
        +
        +
        参数:
        +
        textSize - 指定字号
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setTimeTextColor

        +
        public OnSlideBuildAdapter setTimeTextColor(int timeTextColor)
        +
        设置节次时间的文本颜色
        +
        +
        参数:
        +
        timeTextColor - 颜色
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setTimeTextSize

        +
        public OnSlideBuildAdapter setTimeTextSize(float timeTextSize)
        +
        设置节次时间的文本大小
        +
        +
        参数:
        +
        timeTextSize - 字号
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getView

        +
        public android.view.View getView(int pos,
        +                                 android.view.LayoutInflater inflater,
        +                                 int itemHeight,
        +                                 int marTop)
        +
        从接口复制的说明: ISchedule.OnSlideBuildListener
        +
        构建每项
        +
        +
        指定者:
        +
        getView 在接口中 ISchedule.OnSlideBuildListener
        +
        参数:
        +
        pos - 位置
        +
        inflater - 转换器
        +
        itemHeight - 课程项的高度
        +
        marTop - 课程项的marTop值
        +
        返回:
        +
        构建好的一个侧边项
        +
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnSpaceItemClickAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnSpaceItemClickAdapter.html new file mode 100644 index 0000000..e4fa754 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnSpaceItemClickAdapter.html @@ -0,0 +1,427 @@ + + + + + + +OnSpaceItemClickAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnSpaceItemClickAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      字段概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      字段 
      限定符和类型字段和说明
      protected android.widget.LinearLayoutflagLayout 
      protected intitemHeight 
      protected intitemWidth 
      protected intmarLeft 
      protected intmarTop 
      protected intmonthWidth 
      +
    • +
    + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voidonInit(android.widget.LinearLayout flagLayout, + int monthWidth, + int itemWidth, + int itemHeight, + int marTop, + int marLeft) +
      初始化方法
      +
      voidonSpaceItemClick(int day, + int start) +
      当课程项被点击时回调
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      字段详细资料

      + + + +
        +
      • +

        flagLayout

        +
        protected android.widget.LinearLayout flagLayout
        +
      • +
      + + + +
        +
      • +

        itemHeight

        +
        protected int itemHeight
        +
      • +
      + + + +
        +
      • +

        itemWidth

        +
        protected int itemWidth
        +
      • +
      + + + +
        +
      • +

        monthWidth

        +
        protected int monthWidth
        +
      • +
      + + + +
        +
      • +

        marTop

        +
        protected int marTop
        +
      • +
      + + + +
        +
      • +

        marLeft

        +
        protected int marLeft
        +
      • +
      +
    • +
    + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        OnSpaceItemClickAdapter

        +
        public OnSpaceItemClickAdapter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + + + + + +
        +
      • +

        onInit

        +
        public void onInit(android.widget.LinearLayout flagLayout,
        +                   int monthWidth,
        +                   int itemWidth,
        +                   int itemHeight,
        +                   int marTop,
        +                   int marLeft)
        +
        从接口复制的说明: ISchedule.OnSpaceItemClickListener
        +
        初始化方法
        +
        +
        指定者:
        +
        onInit 在接口中 ISchedule.OnSpaceItemClickListener
        +
        参数:
        +
        flagLayout - 一个指示器的布局
        +
        monthWidth - 月份列宽度
        +
        itemWidth - 课程项宽度,itemWidth:是包含了边距的,设置宽度时所以需要减去边距
        +
        itemHeight - 课程项高度
        +
        marTop - 外边距
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekChangedAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekChangedAdapter.html new file mode 100644 index 0000000..71a4ba5 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekChangedAdapter.html @@ -0,0 +1,286 @@ + + + + + + +OnWeekChangedAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnWeekChangedAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnWeekChangedAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voidonWeekChanged(int curWeek) +
      当周次被改变时回调
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        OnWeekChangedAdapter

        +
        public OnWeekChangedAdapter()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        onWeekChanged

        +
        public void onWeekChanged(int curWeek)
        +
        从接口复制的说明: ISchedule.OnWeekChangedListener
        +
        当周次被改变时回调
        +
        +
        指定者:
        +
        onWeekChanged 在接口中 ISchedule.OnWeekChangedListener
        +
        参数:
        +
        curWeek - 改变的周次,不一定是当前周,因为切换周次的时候有两种模式: + 仅仅切换周次、强制切换,前者不会更改当前周
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekItemClickedAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekItemClickedAdapter.html new file mode 100644 index 0000000..e0b10d7 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekItemClickedAdapter.html @@ -0,0 +1,286 @@ + + + + + + +OnWeekItemClickedAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnWeekItemClickedAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnWeekItemClickedAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voidonWeekClicked(int curWeek) +
      当Item被点击时回调
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekLeftClickedAdapter.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekLeftClickedAdapter.html new file mode 100644 index 0000000..e024424 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/OnWeekLeftClickedAdapter.html @@ -0,0 +1,284 @@ + + + + + + +OnWeekLeftClickedAdapter + + + + + + + + + + + + +
+
com.zhuangfei.timetable.listener
+

类 OnWeekLeftClickedAdapter

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.listener.OnWeekLeftClickedAdapter
    • +
    +
  • +
+
+ +
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voidonWeekLeftClicked() +
      当"设置当前周"按钮被点击时回调
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/package-frame.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/package-frame.html new file mode 100644 index 0000000..9996570 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/package-frame.html @@ -0,0 +1,47 @@ + + + + + + +com.zhuangfei.timetable.listener + + + + + +

com.zhuangfei.timetable.listener

+ + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/package-summary.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/package-summary.html new file mode 100644 index 0000000..de0c7fa --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/package-summary.html @@ -0,0 +1,300 @@ + + + + + + +com.zhuangfei.timetable.listener + + + + + + + + + + + +
+

程序包 com.zhuangfei.timetable.listener

+
+
该包中存放接口以及默认的实现类
+
+

请参阅: 说明

+
+
+ + + + +

程序包com.zhuangfei.timetable.listener的说明

+
该包中存放接口以及默认的实现类
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/listener/package-tree.html b/docs/v2.0.4/com/zhuangfei/timetable/listener/package-tree.html new file mode 100644 index 0000000..4bb7d95 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/listener/package-tree.html @@ -0,0 +1,162 @@ + + + + + + +com.zhuangfei.timetable.listener 类分层结构 + + + + + + + + + + + +
+

程序包com.zhuangfei.timetable.listener的分层结构

+程序包分层结构: + +
+
+

类分层结构

+ +

接口分层结构

+ +
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/model/Schedule.html b/docs/v2.0.4/com/zhuangfei/timetable/model/Schedule.html new file mode 100644 index 0000000..b73cf33 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/model/Schedule.html @@ -0,0 +1,560 @@ + + + + + + +Schedule + + + + + + + + + + + + +
+
com.zhuangfei.timetable.model
+

类 Schedule

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.model.Schedule
    • +
    +
  • +
+
+
    +
  • +
    +
    所有已实现的接口:
    +
    java.io.Serializable, java.lang.Comparable<Schedule>
    +
    +
    +
    +
    public class Schedule
    +extends java.lang.Object
    +implements java.io.Serializable, java.lang.Comparable<Schedule>
    +
    课程实体类
    + 1.增加了extras,可以保存一些自己需要的东西
    +
    +
    另请参阅:
    +
    序列化表格
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器概要

      + + + + + + + + + + + +
      构造器 
      构造器和说明
      Schedule() 
      Schedule(java.lang.String name, + java.lang.String room, + java.lang.String teacher, + java.util.List<java.lang.Integer> weekList, + int start, + int step, + int day, + int colorRandom) 
      +
    • +
    + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      intcompareTo(Schedule o) 
      intgetColorRandom() 
      intgetDay() 
      java.util.Map<java.lang.String,java.lang.Object>getExtras() 
      java.lang.StringgetName() 
      java.lang.StringgetRoom() 
      intgetStart() 
      intgetStep() 
      java.lang.StringgetTeacher() 
      java.util.List<java.lang.Integer>getWeekList() 
      voidputExtras(java.lang.String key, + java.lang.Object val) 
      voidsetColorRandom(int colorRandom) 
      voidsetDay(int day) 
      voidsetExtras(java.util.Map<java.lang.String,java.lang.Object> map) 
      voidsetName(java.lang.String name) 
      voidsetRoom(java.lang.String room) 
      voidsetStart(int start) 
      voidsetStep(int step) 
      voidsetTeacher(java.lang.String teacher) 
      voidsetWeekList(java.util.List<java.lang.Integer> weekList) 
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        Schedule

        +
        public Schedule(java.lang.String name,
        +                java.lang.String room,
        +                java.lang.String teacher,
        +                java.util.List<java.lang.Integer> weekList,
        +                int start,
        +                int step,
        +                int day,
        +                int colorRandom)
        +
      • +
      + + + +
        +
      • +

        Schedule

        +
        public Schedule()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getExtras

        +
        public java.util.Map<java.lang.String,java.lang.Object> getExtras()
        +
      • +
      + + + +
        +
      • +

        setExtras

        +
        public void setExtras(java.util.Map<java.lang.String,java.lang.Object> map)
        +
      • +
      + + + +
        +
      • +

        putExtras

        +
        public void putExtras(java.lang.String key,
        +                      java.lang.Object val)
        +
      • +
      + + + +
        +
      • +

        getName

        +
        public java.lang.String getName()
        +
      • +
      + + + +
        +
      • +

        setName

        +
        public void setName(java.lang.String name)
        +
      • +
      + + + +
        +
      • +

        getRoom

        +
        public java.lang.String getRoom()
        +
      • +
      + + + +
        +
      • +

        setRoom

        +
        public void setRoom(java.lang.String room)
        +
      • +
      + + + +
        +
      • +

        getTeacher

        +
        public java.lang.String getTeacher()
        +
      • +
      + + + +
        +
      • +

        setTeacher

        +
        public void setTeacher(java.lang.String teacher)
        +
      • +
      + + + +
        +
      • +

        setWeekList

        +
        public void setWeekList(java.util.List<java.lang.Integer> weekList)
        +
      • +
      + + + +
        +
      • +

        getWeekList

        +
        public java.util.List<java.lang.Integer> getWeekList()
        +
      • +
      + + + +
        +
      • +

        getStart

        +
        public int getStart()
        +
      • +
      + + + +
        +
      • +

        setStart

        +
        public void setStart(int start)
        +
      • +
      + + + +
        +
      • +

        getStep

        +
        public int getStep()
        +
      • +
      + + + +
        +
      • +

        setStep

        +
        public void setStep(int step)
        +
      • +
      + + + +
        +
      • +

        getDay

        +
        public int getDay()
        +
      • +
      + + + +
        +
      • +

        setDay

        +
        public void setDay(int day)
        +
      • +
      + + + +
        +
      • +

        getColorRandom

        +
        public int getColorRandom()
        +
      • +
      + + + +
        +
      • +

        setColorRandom

        +
        public void setColorRandom(int colorRandom)
        +
      • +
      + + + +
        +
      • +

        compareTo

        +
        public int compareTo(Schedule o)
        +
        +
        指定者:
        +
        compareTo 在接口中 java.lang.Comparable<Schedule>
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleColorPool.html b/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleColorPool.html new file mode 100644 index 0000000..30d3a98 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleColorPool.html @@ -0,0 +1,506 @@ + + + + + + +ScheduleColorPool + + + + + + + + + + + + +
+
com.zhuangfei.timetable.model
+

类 ScheduleColorPool

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.model.ScheduleColorPool
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ScheduleColorPool
    +extends java.lang.Object
    +
    颜色池,管理课程项可挑选的颜色
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器概要

      + + + + + + + + +
      构造器 
      构造器和说明
      ScheduleColorPool(android.content.Context context) 
      +
    • +
    + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      ScheduleColorPooladd(int... colorIds) +
      在颜色池中添加一些自定义的颜色
      +
      ScheduleColorPooladdAll(java.util.Collection<? extends java.lang.Integer> ownColorPool) +
      将指定集合中的颜色加入到颜色池中
      +
      ScheduleColorPoolclear() +
      清空颜色池,清空默认颜色
      +
      intgetColor(int i) +
      根据索引获取颜色,索引越界默认返回 Color.GRAY
      +
      intgetColorAuto(int i) +
      使用模运算根据索引从颜色池中获取颜色, + 如果i<0,转换为正数, + 否则:重新计算索引j=i mod size
      +
      intgetColorAutoWithAlpha(int random, + float alpha) +
      从颜色池中取指定透明度的颜色
      +
      java.util.List<java.lang.Integer>getPoolInstance() +
      得到颜色池的实例,即List集合
      +
      intgetUselessColor() +
      获取非本周课程颜色
      +
      intgetUselessColorWithAlpha(float alpha) +
      获取非本周课程颜色
      +
      ScheduleColorPoolreset() +
      重置,先在池子里添加一些默认的课程项颜色
      +
      ScheduleColorPoolsetUselessColor(int uselessColor) +
      设置非本周课程颜色
      +
      intsize() +
      颜色池的大小
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        ScheduleColorPool

        +
        public ScheduleColorPool(android.content.Context context)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getUselessColor

        +
        public int getUselessColor()
        +
        获取非本周课程颜色
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getUselessColorWithAlpha

        +
        public int getUselessColorWithAlpha(float alpha)
        +
        获取非本周课程颜色
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setUselessColor

        +
        public ScheduleColorPool setUselessColor(int uselessColor)
        +
        设置非本周课程颜色
        +
        +
        参数:
        +
        uselessColor - 非本周课程的颜色
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getPoolInstance

        +
        public java.util.List<java.lang.Integer> getPoolInstance()
        +
        得到颜色池的实例,即List集合
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getColorAutoWithAlpha

        +
        public int getColorAutoWithAlpha(int random,
        +                                 float alpha)
        +
        从颜色池中取指定透明度的颜色
        +
        +
        参数:
        +
        random -
        +
        alpha -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getColor

        +
        public int getColor(int i)
        +
        根据索引获取颜色,索引越界默认返回 Color.GRAY
        +
        +
        参数:
        +
        i - 索引
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getColorAuto

        +
        public int getColorAuto(int i)
        +
        使用模运算根据索引从颜色池中获取颜色, + 如果i<0,转换为正数, + 否则:重新计算索引j=i mod size
        +
        +
        参数:
        +
        i - 索引
        +
        返回:
        +
        颜色
        +
        +
      • +
      + + + +
        +
      • +

        addAll

        +
        public ScheduleColorPool addAll(java.util.Collection<? extends java.lang.Integer> ownColorPool)
        +
        将指定集合中的颜色加入到颜色池中
        +
        +
        参数:
        +
        ownColorPool - 集合
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        size

        +
        public int size()
        +
        颜色池的大小
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        clear

        +
        public ScheduleColorPool clear()
        +
        清空颜色池,清空默认颜色
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        add

        +
        public ScheduleColorPool add(int... colorIds)
        +
        在颜色池中添加一些自定义的颜色
        +
        +
        参数:
        +
        colorIds - 多个颜色
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        reset

        +
        public ScheduleColorPool reset()
        +
        重置,先在池子里添加一些默认的课程项颜色
        +
        +
        返回:
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleEnable.html b/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleEnable.html new file mode 100644 index 0000000..2bb4cc1 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleEnable.html @@ -0,0 +1,229 @@ + + + + + + +ScheduleEnable + + + + + + + + + + + + +
+
com.zhuangfei.timetable.model
+

接口 ScheduleEnable

+
+
+
+
    +
  • +
    +
    +
    public interface ScheduleEnable
    +
    该接口定义数据转换的规范, + 用户自定义课程实体类需要实现该接口以及实现其中的转换方法, + 在设置数据源时可以使用自定义的课程实体,但是必须实现该接口
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getSchedule

        +
        Schedule getSchedule()
        +
        获取Schedule
        +
        +
        返回:
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleSupport.html b/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleSupport.html new file mode 100644 index 0000000..8c9470e --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/model/ScheduleSupport.html @@ -0,0 +1,575 @@ + + + + + + +ScheduleSupport + + + + + + + + + + + + +
+
com.zhuangfei.timetable.model
+

类 ScheduleSupport

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.model.ScheduleSupport
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ScheduleSupport
    +extends java.lang.Object
    +
    课程表的工具包,主要提供几个便捷的方法
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 静态方法 具体方法 
      限定符和类型方法和说明
      static java.util.List<Schedule>findSubjects(Schedule subject, + java.util.List<Schedule> data) +
      在data中查找与subject的start相同的课程集合
      +
      static java.util.List<Schedule>fliterSchedule(java.util.List<Schedule> data, + int curWeek, + boolean isShowNotCurWeek) +
      根据当前周过滤课程,获取本周有效的课程(忽略重叠的)
      +
      static java.util.List<Schedule>getAllSubjectsWithDay(java.util.List<Schedule> scheduleList, + int day) +
      获取某天的所有课程
      +
      static java.util.List<Schedule>getColorReflect(java.util.List<Schedule> schedules) +
      模拟分配颜色,将源数据的colorRandom属性赋值, + 然后根据该属性值在颜色池中查找颜色即可
      +
      static java.util.List<java.lang.String>getDateStringFromWeek(int curWeek, + int targetWeek) +
      根据需要算的周数和当前周数计算日期, + 用于周次切换时对日期的更新
      +
      static java.util.List<Schedule>getHaveSubjectsWithDay(java.util.List<Schedule> scheduleList, + int curWeek, + int day) +
      获取某天有课的课程
      +
      static intgetPx(android.content.Context context, + int dp) +
      内部使用的是:context.getResources().getDimensionPixelSize(dp);
      +
      static java.util.List<java.lang.String>getWeekDate() +
      获取本周的周一-周日的所有日期
      +
      static booleanisThisWeek(Schedule subject, + int cur_week) +
      判断该课是否为本周的
      +
      static voidsortList(java.util.List<Schedule> data) 
      static voidsortList(java.util.List<Schedule>[] data) +
      按照上课节次排序
      +
      static java.util.List<Schedule>[]splitSubjectWithDay(java.util.List<Schedule> dataSource) +
      将源数据拆分为数组的七个元素,每个元素为一个集合, + 依次为周一-周日的课程集合
      +
      static inttimeTransfrom(java.lang.String startTime) +
      根据开学时间计算当前周
      +
      static java.util.List<Schedule>transform(java.util.List<? extends ScheduleEnable> dataSource) +
      转换,将自定义类型转换为List
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        ScheduleSupport

        +
        public ScheduleSupport()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getDateStringFromWeek

        +
        public static java.util.List<java.lang.String> getDateStringFromWeek(int curWeek,
        +                                                                     int targetWeek)
        +
        根据需要算的周数和当前周数计算日期, + 用于周次切换时对日期的更新
        +
        +
        参数:
        +
        targetWeek - 需要算的周数
        +
        curWeek - 当前周数
        +
        返回:
        +
        当周日期集合,共8个元素,第一个为月份(高亮日期的月份),之后7个为周一至周日的日期
        +
        +
      • +
      + + + +
        +
      • +

        getWeekDate

        +
        public static java.util.List<java.lang.String> getWeekDate()
        +
        获取本周的周一-周日的所有日期
        +
        +
        返回:
        +
        8个元素的集合,第一个为月份,之后7个依次为周一-周日
        +
        +
      • +
      + + + +
        +
      • +

        timeTransfrom

        +
        public static int timeTransfrom(java.lang.String startTime)
        +
        根据开学时间计算当前周
        +
        +
        参数:
        +
        startTime - 满足"yyyy-MM-dd HH:mm:ss"模式的字符串
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getColorReflect

        +
        public static java.util.List<Schedule> getColorReflect(java.util.List<Schedule> schedules)
        +
        模拟分配颜色,将源数据的colorRandom属性赋值, + 然后根据该属性值在颜色池中查找颜色即可
        +
        +
        参数:
        +
        schedules - 源数据
        +
        返回:
        +
        colorRandom属性已有值
        +
        +
      • +
      + + + +
        +
      • +

        getPx

        +
        public static int getPx(android.content.Context context,
        +                        int dp)
        +
        内部使用的是:context.getResources().getDimensionPixelSize(dp);
        +
        +
        参数:
        +
        context -
        +
        dp -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        transform

        +
        public static java.util.List<Schedule> transform(java.util.List<? extends ScheduleEnable> dataSource)
        +
        转换,将自定义类型转换为List
        +
        +
        参数:
        +
        dataSource - 源数据集合
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        splitSubjectWithDay

        +
        public static java.util.List<Schedule>[] splitSubjectWithDay(java.util.List<Schedule> dataSource)
        +
        将源数据拆分为数组的七个元素,每个元素为一个集合, + 依次为周一-周日的课程集合
        +
        +
        参数:
        +
        dataSource - 源数据
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getHaveSubjectsWithDay

        +
        public static java.util.List<Schedule> getHaveSubjectsWithDay(java.util.List<Schedule> scheduleList,
        +                                                              int curWeek,
        +                                                              int day)
        +
        获取某天有课的课程
        +
        +
        参数:
        +
        scheduleList - 数据集合
        +
        curWeek - 当前周,以1开始
        +
        day - 星期几,0:周一,1:周二,依次类推..周日:6
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getAllSubjectsWithDay

        +
        public static java.util.List<Schedule> getAllSubjectsWithDay(java.util.List<Schedule> scheduleList,
        +                                                             int day)
        +
        获取某天的所有课程
        +
        +
        参数:
        +
        scheduleList - 数据集合
        +
        day - 星期几,0:周一,1:周二,依次类推..周日:6
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        findSubjects

        +
        public static java.util.List<Schedule> findSubjects(Schedule subject,
        +                                                    java.util.List<Schedule> data)
        +
        在data中查找与subject的start相同的课程集合
        +
        +
        参数:
        +
        subject -
        +
        data -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        sortList

        +
        public static void sortList(java.util.List<Schedule>[] data)
        +
        按照上课节次排序
        +
        +
        参数:
        +
        data -
        +
        +
      • +
      + + + +
        +
      • +

        sortList

        +
        public static void sortList(java.util.List<Schedule> data)
        +
      • +
      + + + +
        +
      • +

        isThisWeek

        +
        public static boolean isThisWeek(Schedule subject,
        +                                 int cur_week)
        +
        判断该课是否为本周的
        +
        +
        参数:
        +
        cur_week -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        fliterSchedule

        +
        public static java.util.List<Schedule> fliterSchedule(java.util.List<Schedule> data,
        +                                                      int curWeek,
        +                                                      boolean isShowNotCurWeek)
        +
        根据当前周过滤课程,获取本周有效的课程(忽略重叠的)
        +
        +
        参数:
        +
        data -
        +
        curWeek -
        +
        返回:
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/model/WeekViewEnable.html b/docs/v2.0.4/com/zhuangfei/timetable/model/WeekViewEnable.html new file mode 100644 index 0000000..416defb --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/model/WeekViewEnable.html @@ -0,0 +1,410 @@ + + + + + + +WeekViewEnable + + + + + + + + + + + + +
+
com.zhuangfei.timetable.model
+

接口 WeekViewEnable<T>

+
+
+
+
    +
  • +
    +
    所有已知实现类:
    +
    WeekView
    +
    +
    +
    +
    public interface WeekViewEnable<T>
    +
    如果需要自定义周次选择栏,请实现该接口, + 它仅仅提供一个规范,可用可不用 + Created by Liu ZhuangFei on 2018/7/28.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 抽象方法 
      限定符和类型方法和说明
      TcurWeek(int curWeek) +
      设置当前周
      +
      Tdata(java.util.List<Schedule> scheduleList) +
      设置数据源
      +
      java.util.List<Schedule>dataSource() +
      获取数据源
      +
      TisShow(boolean isShow) +
      设置控件的可见性
      +
      booleanisShowing() +
      判断该控件是否显示
      +
      intitemCount() +
      获取项数
      +
      TitemCount(int count) +
      设置项数
      +
      TshowView() +
      初次构建时调用,显示周次选择布局
      +
      Tsource(java.util.List<? extends ScheduleEnable> list) +
      设置数据源
      +
      TupdateView() +
      当前周被改变后可以调用该方式修正一下底部的文本
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        curWeek

        +
        T curWeek(int curWeek)
        +
        设置当前周
        +
        +
        参数:
        +
        curWeek -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        itemCount

        +
        T itemCount(int count)
        +
        设置项数
        +
        +
        参数:
        +
        count -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        itemCount

        +
        int itemCount()
        +
        获取项数
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        source

        +
        T source(java.util.List<? extends ScheduleEnable> list)
        +
        设置数据源
        +
        +
        参数:
        +
        list -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        data

        +
        T data(java.util.List<Schedule> scheduleList)
        +
        设置数据源
        +
        +
        参数:
        +
        scheduleList -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        dataSource

        +
        java.util.List<Schedule> dataSource()
        +
        获取数据源
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        showView

        +
        T showView()
        +
        初次构建时调用,显示周次选择布局
        +
      • +
      + + + +
        +
      • +

        updateView

        +
        T updateView()
        +
        当前周被改变后可以调用该方式修正一下底部的文本
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        isShow

        +
        T isShow(boolean isShow)
        +
        设置控件的可见性
        +
        +
        参数:
        +
        isShow - true:显示,false:隐藏
        +
        +
      • +
      + + + +
        +
      • +

        isShowing

        +
        boolean isShowing()
        +
        判断该控件是否显示
        +
        +
        返回:
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/model/package-frame.html b/docs/v2.0.4/com/zhuangfei/timetable/model/package-frame.html new file mode 100644 index 0000000..4006d89 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/model/package-frame.html @@ -0,0 +1,28 @@ + + + + + + +com.zhuangfei.timetable.model + + + + + +

com.zhuangfei.timetable.model

+ + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/model/package-summary.html b/docs/v2.0.4/com/zhuangfei/timetable/model/package-summary.html new file mode 100644 index 0000000..5d8054b --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/model/package-summary.html @@ -0,0 +1,192 @@ + + + + + + +com.zhuangfei.timetable.model + + + + + + + + + + + +
+

程序包 com.zhuangfei.timetable.model

+
+
该包存放与Schedule有关的模型类
+
+

请参阅: 说明

+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    接口概要 
    接口说明
    ScheduleEnable +
    该接口定义数据转换的规范, + 用户自定义课程实体类需要实现该接口以及实现其中的转换方法, + 在设置数据源时可以使用自定义的课程实体,但是必须实现该接口
    +
    WeekViewEnable<T> +
    如果需要自定义周次选择栏,请实现该接口, + 它仅仅提供一个规范,可用可不用 + Created by Liu ZhuangFei on 2018/7/28.
    +
    +
  • +
  • + + + + + + + + + + + + + + + + + + + + +
    类概要 
    说明
    Schedule +
    课程实体类
    + 1.增加了extras,可以保存一些自己需要的东西
    +
    ScheduleColorPool +
    颜色池,管理课程项可挑选的颜色
    +
    ScheduleSupport +
    课程表的工具包,主要提供几个便捷的方法
    +
    +
  • +
+ + + +

程序包com.zhuangfei.timetable.model的说明

+
该包存放与Schedule有关的模型类
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/model/package-tree.html b/docs/v2.0.4/com/zhuangfei/timetable/model/package-tree.html new file mode 100644 index 0000000..bb18a07 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/model/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +com.zhuangfei.timetable.model 类分层结构 + + + + + + + + + + + +
+

程序包com.zhuangfei.timetable.model的分层结构

+程序包分层结构: + +
+
+

类分层结构

+
    +
  • java.lang.Object + +
  • +
+

接口分层结构

+ +
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/operater/AbsOperater.html b/docs/v2.0.4/com/zhuangfei/timetable/operater/AbsOperater.html new file mode 100644 index 0000000..455ddf9 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/operater/AbsOperater.html @@ -0,0 +1,373 @@ + + + + + + +AbsOperater + + + + + + + + + + + + +
+
com.zhuangfei.timetable.operater
+

类 AbsOperater

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.operater.AbsOperater
    • +
    +
  • +
+
+
    +
  • +
    +
    直接已知子类:
    +
    SimpleOperater
    +
    +
    +
    +
    public abstract class AbsOperater
    +extends java.lang.Object
    +
    抽象的业务逻辑 + Created by Liu ZhuangFei on 2018/9/2.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        AbsOperater

        +
        public AbsOperater()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        init

        +
        public void init(android.content.Context context,
        +                 android.util.AttributeSet attrs,
        +                 TimetableView view)
        +
      • +
      + + + +
        +
      • +

        showView

        +
        public void showView()
        +
      • +
      + + + +
        +
      • +

        updateDateView

        +
        public void updateDateView()
        +
      • +
      + + + +
        +
      • +

        updateSlideView

        +
        public void updateSlideView()
        +
      • +
      + + + +
        +
      • +

        changeWeek

        +
        public void changeWeek(int week,
        +                       boolean isCurWeek)
        +
      • +
      + + + +
        +
      • +

        getFlagLayout

        +
        public android.widget.LinearLayout getFlagLayout()
        +
      • +
      + + + +
        +
      • +

        getDateLayout

        +
        public android.widget.LinearLayout getDateLayout()
        +
      • +
      + + + +
        +
      • +

        setWeekendsVisiable

        +
        public void setWeekendsVisiable(boolean isShow)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/operater/SimpleOperater.html b/docs/v2.0.4/com/zhuangfei/timetable/operater/SimpleOperater.html new file mode 100644 index 0000000..beab17a --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/operater/SimpleOperater.html @@ -0,0 +1,547 @@ + + + + + + +SimpleOperater + + + + + + + + + + + + +
+
com.zhuangfei.timetable.operater
+

类 SimpleOperater

+
+
+ +
+ +
+
+
    +
  • + +
      +
    • + + +

      构造器概要

      + + + + + + + + +
      构造器 
      构造器和说明
      SimpleOperater() 
      +
    • +
    + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voidchangeWeek(int week, + boolean isCurWeek) +
      切换周次
      +
      protected booleancheckPosition(int day, + int start) +
      判断位置是否有课
      +
      android.widget.LinearLayoutgetDateLayout() 
      android.widget.LinearLayoutgetFlagLayout() +
      获取旗标布局
      +
      protected floatgetPerWidth() 
      voidinit(android.content.Context context, + android.util.AttributeSet attrs, + TimetableView view) 
      protected voidinitAttr(android.util.AttributeSet attrs) +
      获取自定义属性
      +
      protected voidinitPanel() +
      初始化panel并为panel设置事件监听
      +
      voidnewSlideView(android.widget.LinearLayout slidelayout) +
      构建侧边栏
      +
      protected voidonPanelClicked(android.view.View view, + float y) +
      点击panel时的事件响应
      +
      voidsetWeekendsVisiable(boolean isShow) +
      设置周末的可见性
      +
      voidshowView() +
      绘制课程表
      +
      voidupdateDateView() +
      更新日期栏
      +
      voidupdateSlideView() +
      侧边栏更新
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        SimpleOperater

        +
        public SimpleOperater()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        init

        +
        public void init(android.content.Context context,
        +                 android.util.AttributeSet attrs,
        +                 TimetableView view)
        +
        +
        覆盖:
        +
        init 在类中 AbsOperater
        +
        +
      • +
      + + + +
        +
      • +

        initAttr

        +
        protected void initAttr(android.util.AttributeSet attrs)
        +
        获取自定义属性
        +
        +
        参数:
        +
        attrs -
        +
        +
      • +
      + + + +
        +
      • +

        getDateLayout

        +
        public android.widget.LinearLayout getDateLayout()
        +
        +
        覆盖:
        +
        getDateLayout 在类中 AbsOperater
        +
        +
      • +
      + + + +
        +
      • +

        getFlagLayout

        +
        public android.widget.LinearLayout getFlagLayout()
        +
        获取旗标布局
        +
        +
        覆盖:
        +
        getFlagLayout 在类中 AbsOperater
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        newSlideView

        +
        public void newSlideView(android.widget.LinearLayout slidelayout)
        +
        构建侧边栏
        +
        +
        参数:
        +
        slidelayout - 侧边栏的容器
        +
        +
      • +
      + + + +
        +
      • +

        onPanelClicked

        +
        protected void onPanelClicked(android.view.View view,
        +                              float y)
        +
        点击panel时的事件响应
        +
      • +
      + + + +
        +
      • +

        checkPosition

        +
        protected boolean checkPosition(int day,
        +                                int start)
        +
        判断位置是否有课
        +
        +
        参数:
        +
        day -
        +
        start -
        +
        返回:
        +
        true:有课,false:无课
        +
        +
      • +
      + + + +
        +
      • +

        initPanel

        +
        protected void initPanel()
        +
        初始化panel并为panel设置事件监听
        +
      • +
      + + + +
        +
      • +

        showView

        +
        public void showView()
        +
        绘制课程表
        +
        +
        覆盖:
        +
        showView 在类中 AbsOperater
        +
        +
      • +
      + + + +
        +
      • +

        changeWeek

        +
        public void changeWeek(int week,
        +                       boolean isCurWeek)
        +
        切换周次
        +
        +
        覆盖:
        +
        changeWeek 在类中 AbsOperater
        +
        参数:
        +
        week -
        +
        isCurWeek - 是否强制设置为当前周
        +
        +
      • +
      + + + +
        +
      • +

        getPerWidth

        +
        protected float getPerWidth()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        setWeekendsVisiable

        +
        public void setWeekendsVisiable(boolean isShow)
        +
        设置周末的可见性
        +
        +
        覆盖:
        +
        setWeekendsVisiable 在类中 AbsOperater
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/operater/package-frame.html b/docs/v2.0.4/com/zhuangfei/timetable/operater/package-frame.html new file mode 100644 index 0000000..ced8340 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/operater/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +com.zhuangfei.timetable.operater + + + + + +

com.zhuangfei.timetable.operater

+ + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/operater/package-summary.html b/docs/v2.0.4/com/zhuangfei/timetable/operater/package-summary.html new file mode 100644 index 0000000..c21dcb6 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/operater/package-summary.html @@ -0,0 +1,159 @@ + + + + + + +com.zhuangfei.timetable.operater + + + + + + + + + + + +
+

程序包 com.zhuangfei.timetable.operater

+
+
该包存放与ScheduleOperater有关的类
+
+

请参阅: 说明

+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    类概要 
    说明
    AbsOperater +
    抽象的业务逻辑 + Created by Liu ZhuangFei on 2018/9/2.
    +
    SimpleOperater +
    课表业务操作者,TimetableView中只涉及属性的设置,方法的具体实现在这里.
    +
    +
  • +
+ + + +

程序包com.zhuangfei.timetable.operater的说明

+
该包存放与ScheduleOperater有关的类
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/operater/package-tree.html b/docs/v2.0.4/com/zhuangfei/timetable/operater/package-tree.html new file mode 100644 index 0000000..fbe2e46 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/operater/package-tree.html @@ -0,0 +1,140 @@ + + + + + + +com.zhuangfei.timetable.operater 类分层结构 + + + + + + + + + + + +
+

程序包com.zhuangfei.timetable.operater的分层结构

+程序包分层结构: + +
+
+

类分层结构

+
    +
  • java.lang.Object + +
  • +
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/package-frame.html b/docs/v2.0.4/com/zhuangfei/timetable/package-frame.html new file mode 100644 index 0000000..df2eda7 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +com.zhuangfei.timetable + + + + + +

com.zhuangfei.timetable

+
+

+ +
+ + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/package-summary.html b/docs/v2.0.4/com/zhuangfei/timetable/package-summary.html new file mode 100644 index 0000000..ec97155 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/package-summary.html @@ -0,0 +1,163 @@ + + + + + + +com.zhuangfei.timetable + + + + + + + + + + + +
+

程序包 com.zhuangfei.timetable

+
+
TimetableView是课表控件,主要是操作该对象进而完成对属性设置以及对视图的创建、更新
+
+

请参阅: 说明

+
+
+ + + + +

程序包com.zhuangfei.timetable的说明

+
TimetableView是课表控件,主要是操作该对象进而完成对属性设置以及对视图的创建、更新
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/package-tree.html b/docs/v2.0.4/com/zhuangfei/timetable/package-tree.html new file mode 100644 index 0000000..949bc47 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/package-tree.html @@ -0,0 +1,148 @@ + + + + + + +com.zhuangfei.timetable 类分层结构 + + + + + + + + + + + +
+

程序包com.zhuangfei.timetable的分层结构

+程序包分层结构: + +
+
+

类分层结构

+
    +
  • java.lang.Object +
      +
    • android.view.View (implements android.view.accessibility.AccessibilityEventSource, android.graphics.drawable.Drawable.Callback, android.view.KeyEvent.Callback) +
        +
      • android.view.ViewGroup (implements android.view.ViewManager, android.view.ViewParent) +
          +
        • android.widget.LinearLayout + +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/utils/ColorUtils.html b/docs/v2.0.4/com/zhuangfei/timetable/utils/ColorUtils.html new file mode 100644 index 0000000..e2e4ed5 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/utils/ColorUtils.html @@ -0,0 +1,284 @@ + + + + + + +ColorUtils + + + + + + + + + + + + +
+
com.zhuangfei.timetable.utils
+

类 ColorUtils

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.utils.ColorUtils
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ColorUtils
    +extends java.lang.Object
    +
    Created by Liu ZhuangFei on 2018/7/25.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器概要

      + + + + + + + + +
      构造器 
      构造器和说明
      ColorUtils() 
      +
    • +
    + +
      +
    • + + +

      方法概要

      + + + + + + + + + + +
      所有方法 静态方法 具体方法 
      限定符和类型方法和说明
      static intalphaColor(int color, + float alpha) +
      合成指定颜色、指定不透明度的颜色, + 0:完全透明,1:不透明
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        ColorUtils

        +
        public ColorUtils()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        alphaColor

        +
        public static int alphaColor(int color,
        +                             float alpha)
        +
        合成指定颜色、指定不透明度的颜色, + 0:完全透明,1:不透明
        +
        +
        参数:
        +
        color -
        +
        alpha - 0:完全透明,1:不透明
        +
        返回:
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/utils/ScreenUtils.html b/docs/v2.0.4/com/zhuangfei/timetable/utils/ScreenUtils.html new file mode 100644 index 0000000..04c3bd7 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/utils/ScreenUtils.html @@ -0,0 +1,392 @@ + + + + + + +ScreenUtils + + + + + + + + + + + + +
+
com.zhuangfei.timetable.utils
+

类 ScreenUtils

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • com.zhuangfei.timetable.utils.ScreenUtils
    • +
    +
  • +
+
+
    +
  • +
    +
    +
    public class ScreenUtils
    +extends java.lang.Object
    +
    尺寸工具类
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器概要

      + + + + + + + + +
      构造器 
      构造器和说明
      ScreenUtils() 
      +
    • +
    + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 静态方法 具体方法 
      限定符和类型方法和说明
      static intdip2px(android.content.Context context, + float dpValue) +
      dp转换为px
      +
      static intgetHeightInDp(android.content.Context context) +
      获取屏幕的高度Dp
      +
      static intgetHeightInPx(android.content.Context context) +
      获取屏幕的高度Px
      +
      static intgetWidthInDp(android.content.Context context) +
      获取屏幕的宽度Dp
      +
      static intgetWidthInPx(android.content.Context context) +
      获取屏幕的宽度Px
      +
      static intpx2dip(android.content.Context context, + float pxValue) +
      px转换为dp
      +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        ScreenUtils

        +
        public ScreenUtils()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getHeightInPx

        +
        public static final int getHeightInPx(android.content.Context context)
        +
        获取屏幕的高度Px
        +
        +
        参数:
        +
        context -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getWidthInPx

        +
        public static final int getWidthInPx(android.content.Context context)
        +
        获取屏幕的宽度Px
        +
        +
        参数:
        +
        context -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getHeightInDp

        +
        public static final int getHeightInDp(android.content.Context context)
        +
        获取屏幕的高度Dp
        +
        +
        参数:
        +
        context -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getWidthInDp

        +
        public static final int getWidthInDp(android.content.Context context)
        +
        获取屏幕的宽度Dp
        +
        +
        参数:
        +
        context -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        dip2px

        +
        public static int dip2px(android.content.Context context,
        +                         float dpValue)
        +
        dp转换为px
        +
        +
        参数:
        +
        context - 上下文
        +
        dpValue - dp
        +
        返回:
        +
        px
        +
        +
      • +
      + + + +
        +
      • +

        px2dip

        +
        public static int px2dip(android.content.Context context,
        +                         float pxValue)
        +
        px转换为dp
        +
        +
        参数:
        +
        context - 上下文
        +
        pxValue - px
        +
        返回:
        +
        dp
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/utils/package-frame.html b/docs/v2.0.4/com/zhuangfei/timetable/utils/package-frame.html new file mode 100644 index 0000000..6f656c6 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/utils/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +com.zhuangfei.timetable.utils + + + + + +

com.zhuangfei.timetable.utils

+
+

+ +
+ + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/utils/package-summary.html b/docs/v2.0.4/com/zhuangfei/timetable/utils/package-summary.html new file mode 100644 index 0000000..a9498c7 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/utils/package-summary.html @@ -0,0 +1,158 @@ + + + + + + +com.zhuangfei.timetable.utils + + + + + + + + + + + +
+

程序包 com.zhuangfei.timetable.utils

+
+
该包存放一些全局的工具方法
+
+

请参阅: 说明

+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    类概要 
    说明
    ColorUtils +
    Created by Liu ZhuangFei on 2018/7/25.
    +
    ScreenUtils +
    尺寸工具类
    +
    +
  • +
+ + + +

程序包com.zhuangfei.timetable.utils的说明

+
该包存放一些全局的工具方法
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/utils/package-tree.html b/docs/v2.0.4/com/zhuangfei/timetable/utils/package-tree.html new file mode 100644 index 0000000..95d446b --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/utils/package-tree.html @@ -0,0 +1,137 @@ + + + + + + +com.zhuangfei.timetable.utils 类分层结构 + + + + + + + + + + + +
+

程序包com.zhuangfei.timetable.utils的分层结构

+程序包分层结构: + +
+
+

类分层结构

+
    +
  • java.lang.Object + +
  • +
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/view/PerWeekView.html b/docs/v2.0.4/com/zhuangfei/timetable/view/PerWeekView.html new file mode 100644 index 0000000..32b9320 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/view/PerWeekView.html @@ -0,0 +1,604 @@ + + + + + + +PerWeekView + + + + + + + + + + + + +
+
com.zhuangfei.timetable.view
+

类 PerWeekView

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.view.View
    • +
    • +
        +
      • com.zhuangfei.timetable.view.PerWeekView
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    所有已实现的接口:
    +
    android.graphics.drawable.Drawable.Callback, android.view.accessibility.AccessibilityEventSource, android.view.KeyEvent.Callback
    +
    +
    +
    +
    public class PerWeekView
    +extends android.view.View
    +
    周次选择栏的每项自定义View,表示某周的有课情况. + 使用周一至周五、第1-10节的数据进行绘制,绘制的结果是一个5x5的点阵: + + 5列分别表示周一至周五 + 5行分别表示1-2节、3-4节、5-6节、7-8节、9-10节的有课情况 + + 有课的地方用亮色的圆点,没课的地方用暗色的圆点
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      嵌套类概要

      +
        +
      • + + +

        从类继承的嵌套类/接口 android.view.View

        +android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnCapturedPointerListener, android.view.View.OnClickListener, android.view.View.OnContextClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnScrollChangeListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener
      • +
      +
    • +
    + +
      +
    • + + +

      字段概要

      +
        +
      • + + +

        从类继承的字段 android.view.View

        +ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
      • +
      +
    • +
    + +
      +
    • + + +

      构造器概要

      + + + + + + + + + + + +
      构造器 
      构造器和说明
      PerWeekView(android.content.Context context) 
      PerWeekView(android.content.Context context, + android.util.AttributeSet attrs) 
      +
    • +
    + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      voiddrawPoint(android.graphics.Canvas canvas, + int x, + int y, + int radius, + android.graphics.Paint p) +
      画点
      +
      int[][]getArray() +
      根据此数据源分析出一个二维数组.
      +
      java.util.List<Schedule>getDataSource() +
      获取数据源
      +
      android.graphics.PaintgetGrayPaint() +
      获取暗色的画笔
      +
      android.graphics.PaintgetLightPaint() +
      获取亮色的画笔
      +
      protected voidonDraw(android.graphics.Canvas canvas) 
      protected voidonSizeChanged(int w, + int h, + int oldw, + int oldh) 
      PerWeekViewsetData(java.util.List<Schedule> list, + int curWeek) +
      设置数据源
      +
      PerWeekViewsetGrayColor(int grayColor) +
      设置暗色
      +
      PerWeekViewsetLightColor(int lightColor) +
      设置亮色
      +
      PerWeekViewsetRadiusInDp(int radiusDp) +
      设置半径Dp
      +
      PerWeekViewsetRadiusInPx(int radiusPx) +
      设置半径Px
      +
      PerWeekViewsetSource(java.util.List<? extends ScheduleEnable> list, + int curWeek) +
      设置数据源
      +
      +
        +
      • + + +

        从类继承的方法 android.view.View

        +addChildrenForAccessibility, addExtraDataToAccessibilityNodeInfo, addFocusables, addFocusables, addKeyboardNavigationClusters, addOnAttachStateChangeListener, addOnLayoutChangeListener, addTouchables, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearFocus, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchApplyWindowInsets, dispatchCapturedPointerEvent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDraw, dispatchDrawableHotspotChanged, dispatchFinishTemporaryDetach, dispatchGenericFocusedEvent, dispatchGenericMotionEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPointerCaptureChanged, dispatchPopulateAccessibilityEvent, dispatchProvideAutofillStructure, dispatchProvideStructure, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchStartTemporaryDetach, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, draw, drawableHotspotChanged, drawableStateChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateViewId, getAccessibilityClassName, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getApplicationWindowToken, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getImportantForAutofill, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineProvider, getOverlay, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocus, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOverlappingRendering, hasPointerCapture, hasTransientState, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, jumpDrawablesToCurrentState, keyboardNavigationClusterSearch, layout, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onAttachedToWindow, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateDrawableState, onCreateInputConnection, onDetachedFromWindow, onDisplayHint, onDragEvent, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onLayout, onMeasure, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideStructure, onProvideVirtualStructure, onResolvePointerIcon, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize, resolveSizeAndState, restoreDefaultFocus, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAlpha, setAnimation, setAutofillHints, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForeground, setForegroundGravity, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineProvider, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateListAnimator, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionName, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw
      • +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      构造器详细资料

      + + + +
        +
      • +

        PerWeekView

        +
        public PerWeekView(android.content.Context context)
        +
      • +
      + + + +
        +
      • +

        PerWeekView

        +
        public PerWeekView(android.content.Context context,
        +                   android.util.AttributeSet attrs)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      方法详细资料

      + + + +
        +
      • +

        getLightPaint

        +
        public android.graphics.Paint getLightPaint()
        +
        获取亮色的画笔
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getGrayPaint

        +
        public android.graphics.Paint getGrayPaint()
        +
        获取暗色的画笔
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setLightColor

        +
        public PerWeekView setLightColor(int lightColor)
        +
        设置亮色
        +
        +
        参数:
        +
        lightColor - 亮色
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setGrayColor

        +
        public PerWeekView setGrayColor(int grayColor)
        +
        设置暗色
        +
        +
        参数:
        +
        grayColor - 暗色
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        getDataSource

        +
        public java.util.List<Schedule> getDataSource()
        +
        获取数据源
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setSource

        +
        public PerWeekView setSource(java.util.List<? extends ScheduleEnable> list,
        +                             int curWeek)
        +
        设置数据源
        +
        +
        参数:
        +
        list -
        +
        curWeek -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setData

        +
        public PerWeekView setData(java.util.List<Schedule> list,
        +                           int curWeek)
        +
        设置数据源
        +
        +
        参数:
        +
        list -
        +
        curWeek -
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setRadiusInPx

        +
        public PerWeekView setRadiusInPx(int radiusPx)
        +
        设置半径Px
        +
        +
        参数:
        +
        radiusPx - 半径
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        setRadiusInDp

        +
        public PerWeekView setRadiusInDp(int radiusDp)
        +
        设置半径Dp
        +
        +
        参数:
        +
        radiusDp - 半径
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        onSizeChanged

        +
        protected void onSizeChanged(int w,
        +                             int h,
        +                             int oldw,
        +                             int oldh)
        +
        +
        覆盖:
        +
        onSizeChanged 在类中 android.view.View
        +
        +
      • +
      + + + +
        +
      • +

        onDraw

        +
        protected void onDraw(android.graphics.Canvas canvas)
        +
        +
        覆盖:
        +
        onDraw 在类中 android.view.View
        +
        +
      • +
      + + + +
        +
      • +

        getArray

        +
        public int[][] getArray()
        +
        根据此数据源分析出一个二维数组.
        +
        +
        返回:
        +
        +
      • +
      + + + +
        +
      • +

        drawPoint

        +
        public void drawPoint(android.graphics.Canvas canvas,
        +                      int x,
        +                      int y,
        +                      int radius,
        +                      android.graphics.Paint p)
        +
        画点
        +
        +
        参数:
        +
        canvas -
        +
        x - 圆心x
        +
        y - 圆心y
        +
        radius - 半径
        +
        p - 画笔
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/view/WeekView.html b/docs/v2.0.4/com/zhuangfei/timetable/view/WeekView.html new file mode 100644 index 0000000..2c0ac99 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/view/WeekView.html @@ -0,0 +1,710 @@ + + + + + + +WeekView + + + + + + + + + + + + +
+
com.zhuangfei.timetable.view
+

类 WeekView

+
+
+
    +
  • java.lang.Object
  • +
  • +
      +
    • android.view.View
    • +
    • +
        +
      • android.view.ViewGroup
      • +
      • +
          +
        • android.widget.LinearLayout
        • +
        • +
            +
          • com.zhuangfei.timetable.view.WeekView
          • +
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+
    +
  • +
    +
    所有已实现的接口:
    +
    android.graphics.drawable.Drawable.Callback, android.view.accessibility.AccessibilityEventSource, android.view.KeyEvent.Callback, android.view.ViewManager, android.view.ViewParent, WeekViewEnable<WeekView>
    +
    +
    +
    +
    public class WeekView
    +extends android.widget.LinearLayout
    +implements WeekViewEnable<WeekView>
    +
    周次选择栏自定义View. + 每一项均为PerWeekView
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      嵌套类概要

      +
        +
      • + + +

        从类继承的嵌套类/接口 android.widget.LinearLayout

        +android.widget.LinearLayout.LayoutParams
      • +
      +
        +
      • + + +

        从类继承的嵌套类/接口 android.view.ViewGroup

        +android.view.ViewGroup.MarginLayoutParams, android.view.ViewGroup.OnHierarchyChangeListener
      • +
      +
        +
      • + + +

        从类继承的嵌套类/接口 android.view.View

        +android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnCapturedPointerListener, android.view.View.OnClickListener, android.view.View.OnContextClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnScrollChangeListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener
      • +
      +
    • +
    + +
      +
    • + + +

      字段概要

      +
        +
      • + + +

        从类继承的字段 android.widget.LinearLayout

        +HORIZONTAL, SHOW_DIVIDER_BEGINNING, SHOW_DIVIDER_END, SHOW_DIVIDER_MIDDLE, SHOW_DIVIDER_NONE, VERTICAL
      • +
      +
        +
      • + + +

        从类继承的字段 android.view.ViewGroup

        +CLIP_TO_PADDING_MASK, FOCUS_AFTER_DESCENDANTS, FOCUS_BEFORE_DESCENDANTS, FOCUS_BLOCK_DESCENDANTS, LAYOUT_MODE_CLIP_BOUNDS, LAYOUT_MODE_OPTICAL_BOUNDS, PERSISTENT_ALL_CACHES, PERSISTENT_ANIMATION_CACHE, PERSISTENT_NO_CACHE, PERSISTENT_SCROLLING_CACHE
      • +
      +
        +
      • + + +

        从类继承的字段 android.view.View

        +ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH, AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR, AUTOFILL_HINT_CREDIT_CARD_NUMBER, AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE, AUTOFILL_HINT_EMAIL_ADDRESS, AUTOFILL_HINT_NAME, AUTOFILL_HINT_PASSWORD, AUTOFILL_HINT_PHONE, AUTOFILL_HINT_POSTAL_ADDRESS, AUTOFILL_HINT_POSTAL_CODE, AUTOFILL_HINT_USERNAME, AUTOFILL_TYPE_DATE, AUTOFILL_TYPE_LIST, AUTOFILL_TYPE_NONE, AUTOFILL_TYPE_TEXT, AUTOFILL_TYPE_TOGGLE, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLE, FOCUSABLE_AUTO, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, IMPORTANT_FOR_AUTOFILL_AUTO, IMPORTANT_FOR_AUTOFILL_NO, IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS, IMPORTANT_FOR_AUTOFILL_YES, IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, NOT_FOCUSABLE, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
      • +
      +
    • +
    + +
      +
    • + + +

      构造器概要

      + + + + + + + + + + + +
      构造器 
      构造器和说明
      WeekView(android.content.Context context) 
      WeekView(android.content.Context context, + android.util.AttributeSet attrs) 
      +
    • +
    + +
      +
    • + + +

      方法概要

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      所有方法 实例方法 具体方法 
      限定符和类型方法和说明
      WeekViewcallback(IWeekView.OnWeekItemClickedListener onWeekItemClickedListener) +
      设置Item点击监听
      +
      WeekViewcallback(IWeekView.OnWeekLeftClickedListener onWeekLeftClickedListener) +
      设置左侧按钮点击监听
      +
      WeekViewcurWeek(int curWeek) +
      设置当前周
      +
      WeekViewdata(java.util.List<Schedule> scheduleList) +
      设置数据源
      +
      java.util.List<Schedule>dataSource() +
      获取数据源
      +
      WeekViewhideLeftLayout() +
      隐藏左侧设置当前周的控件
      +
      WeekViewisShow(boolean isShow) +
      设置控件的可见性
      +
      booleanisShowing() +
      判断该控件是否显示
      +
      intitemCount() +
      获取项数
      +
      WeekViewitemCount(int count) +
      设置项数
      +
      IWeekView.OnWeekItemClickedListeneronWeekItemClickedListener() +
      获取Item点击监听
      +
      IWeekView.OnWeekLeftClickedListeneronWeekLeftClickedListener() +
      获取左侧按钮点击监听
      +
      voidresetBackground() +
      重置背景色
      +
      WeekViewshowView() +
      初次构建时调用,显示周次选择布局
      +
      WeekViewsource(java.util.List<? extends ScheduleEnable> list) +
      设置数据源
      +
      WeekViewupdateView() +
      当前周被改变后可以调用该方式修正一下底部的文本
      +
      +
        +
      • + + +

        从类继承的方法 android.widget.LinearLayout

        +checkLayoutParams, generateDefaultLayoutParams, generateLayoutParams, generateLayoutParams, getAccessibilityClassName, getBaseline, getBaselineAlignedChildIndex, getDividerDrawable, getDividerPadding, getGravity, getOrientation, getShowDividers, getWeightSum, isBaselineAligned, isMeasureWithLargestChildEnabled, onDraw, onLayout, onMeasure, onRtlPropertiesChanged, setBaselineAligned, setBaselineAlignedChildIndex, setDividerDrawable, setDividerPadding, setGravity, setHorizontalGravity, setMeasureWithLargestChildEnabled, setOrientation, setShowDividers, setVerticalGravity, setWeightSum, shouldDelayChildPressedState
      • +
      +
        +
      • + + +

        从类继承的方法 android.view.ViewGroup

        +addChildrenForAccessibility, addFocusables, addKeyboardNavigationClusters, addStatesFromChildren, addTouchables, addView, addView, addView, addView, addView, addViewInLayout, addViewInLayout, attachLayoutAnimationParameters, attachViewToParent, bringChildToFront, canAnimate, childDrawableStateChanged, childHasTransientStateChanged, cleanupLayoutState, clearChildFocus, clearDisappearingChildren, clearFocus, debug, detachAllViewsFromParent, detachViewFromParent, detachViewFromParent, detachViewsFromParent, dispatchApplyWindowInsets, dispatchCapturedPointerEvent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDraw, dispatchDrawableHotspotChanged, dispatchFreezeSelfOnly, dispatchGenericFocusedEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchPointerCaptureChanged, dispatchProvideAutofillStructure, dispatchProvideStructure, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchThawSelfOnly, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableStateChanged, drawChild, endViewTransition, findFocus, findViewsWithText, focusableViewAvailable, focusSearch, gatherTransparentRegion, getChildAt, getChildCount, getChildDrawingOrder, getChildMeasureSpec, getChildStaticTransformation, getChildVisibleRect, getClipChildren, getClipToPadding, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getLayoutMode, getLayoutTransition, getNestedScrollAxes, getOverlay, getPersistentDrawingCache, getTouchscreenBlocksFocus, hasFocus, hasTransientState, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isChildrenDrawingOrderEnabled, isChildrenDrawnWithCacheEnabled, isMotionEventSplittingEnabled, isTransitionGroup, jumpDrawablesToCurrentState, layout, measureChild, measureChildren, measureChildWithMargins, notifySubtreeAccessibilityStateChanged, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onAttachedToWindow, onCreateDrawableState, onDescendantInvalidated, onDetachedFromWindow, onInterceptHoverEvent, onInterceptTouchEvent, onNestedFling, onNestedPreFling, onNestedPrePerformAccessibilityAction, onNestedPreScroll, onNestedScroll, onNestedScrollAccepted, onRequestFocusInDescendants, onRequestSendAccessibilityEvent, onResolvePointerIcon, onStartNestedScroll, onStopNestedScroll, onViewAdded, onViewRemoved, recomputeViewAttributes, removeAllViews, removeAllViewsInLayout, removeDetachedView, removeView, removeViewAt, removeViewInLayout, removeViews, removeViewsInLayout, requestChildFocus, requestChildRectangleOnScreen, requestDisallowInterceptTouchEvent, requestFocus, requestSendAccessibilityEvent, requestTransparentRegion, restoreDefaultFocus, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setChildrenDrawingCacheEnabled, setChildrenDrawingOrderEnabled, setChildrenDrawnWithCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setLayoutMode, setLayoutTransition, setMotionEventSplittingEnabled, setOnHierarchyChangeListener, setPersistentDrawingCache, setStaticTransformationsEnabled, setTouchscreenBlocksFocus, setTransitionGroup, showContextMenuForChild, showContextMenuForChild, startActionModeForChild, startActionModeForChild, startLayoutAnimation, startViewTransition, updateViewLayout
      • +
      +
        +
      • + + +

        从类继承的方法 android.view.View

        +addExtraDataToAccessibilityNodeInfo, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, animate, announceForAccessibility, autofill, autofill, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchFinishTemporaryDetach, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, dispatchStartTemporaryDetach, draw, drawableHotspotChanged, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, forceLayout, generateViewId, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getApplicationWindowToken, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintList, getBackgroundTintMode, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentDescription, getContext, getContextMenuInfo, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getImportantForAutofill, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineProvider, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getResources, getRevealOnFocusHint, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOverlappingRendering, hasPointerCapture, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, keyboardNavigationClusterSearch, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onCancelPendingInputEvents, onCapturedPointerEvent, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onDisplayHint, onDragEvent, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideAutofillVirtualStructure, onProvideStructure, onProvideVirtualStructure, onRestoreInstanceState, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAlpha, setAnimation, setAutofillHints, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForeground, setForegroundGravity, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineProvider, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPressed, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateListAnimator, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionName, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, updateDragShadow, verifyDrawable, willNotCacheDrawing, willNotDraw
      • +
      +
        +
      • + + +

        从类继承的方法 java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
        +
      • + + +

        从接口继承的方法 android.view.ViewParent

        +canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, createContextMenu, getLayoutDirection, getParent, getParentForAccessibility, getTextAlignment, getTextDirection, isLayoutDirectionResolved, isLayoutRequested, isTextAlignmentResolved, isTextDirectionResolved, keyboardNavigationClusterSearch, requestFitSystemWindows, requestLayout
      • +
      +
    • +
    +
  • +
+
+
+ +
+
+ + + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/view/package-frame.html b/docs/v2.0.4/com/zhuangfei/timetable/view/package-frame.html new file mode 100644 index 0000000..1c77c82 --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/view/package-frame.html @@ -0,0 +1,22 @@ + + + + + + +com.zhuangfei.timetable.view + + + + + +

com.zhuangfei.timetable.view

+
+

+ +
+ + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/view/package-summary.html b/docs/v2.0.4/com/zhuangfei/timetable/view/package-summary.html new file mode 100644 index 0000000..fc5076a --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/view/package-summary.html @@ -0,0 +1,158 @@ + + + + + + +com.zhuangfei.timetable.view + + + + + + + + + + + +
+

程序包 com.zhuangfei.timetable.view

+
+
该包存放控件实现的自定义View
+
+

请参阅: 说明

+
+
+
    +
  • + + + + + + + + + + + + + + + + +
    类概要 
    说明
    PerWeekView +
    周次选择栏的每项自定义View,表示某周的有课情况.
    +
    WeekView +
    周次选择栏自定义View.
    +
    +
  • +
+ + + +

程序包com.zhuangfei.timetable.view的说明

+
该包存放控件实现的自定义View
+
+ + + + + + diff --git a/docs/v2.0.4/com/zhuangfei/timetable/view/package-tree.html b/docs/v2.0.4/com/zhuangfei/timetable/view/package-tree.html new file mode 100644 index 0000000..78e0eaf --- /dev/null +++ b/docs/v2.0.4/com/zhuangfei/timetable/view/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +com.zhuangfei.timetable.view 类分层结构 + + + + + + + + + + + +
+

程序包com.zhuangfei.timetable.view的分层结构

+程序包分层结构: + +
+
+

类分层结构

+
    +
  • java.lang.Object +
      +
    • android.view.View (implements android.view.accessibility.AccessibilityEventSource, android.graphics.drawable.Drawable.Callback, android.view.KeyEvent.Callback) +
        +
      • com.zhuangfei.timetable.view.PerWeekView
      • +
      • android.view.ViewGroup (implements android.view.ViewManager, android.view.ViewParent) +
          +
        • android.widget.LinearLayout + +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+ + + + + + diff --git a/docs/v2.0.4/constant-values.html b/docs/v2.0.4/constant-values.html new file mode 100644 index 0000000..23ea613 --- /dev/null +++ b/docs/v2.0.4/constant-values.html @@ -0,0 +1,123 @@ + + + + + + +常量字段值 + + + + + + + + + + + +
+

常量字段值

+

目录

+
+ + + + + + diff --git a/docs/v2.0.4/deprecated-list.html b/docs/v2.0.4/deprecated-list.html new file mode 100644 index 0000000..de1a1cf --- /dev/null +++ b/docs/v2.0.4/deprecated-list.html @@ -0,0 +1,123 @@ + + + + + + +已过时的列表 + + + + + + + + +
+ + + + + + + +
+ + +
+

已过时的 API

+

目录

+
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/help-doc.html b/docs/v2.0.4/help-doc.html new file mode 100644 index 0000000..6cb0cdd --- /dev/null +++ b/docs/v2.0.4/help-doc.html @@ -0,0 +1,224 @@ + + + + + + +API 帮助 + + + + + + + + +
+ + + + + + + +
+ + +
+

此 API 文档的组织方式

+
此 API (应用程序编程接口) 文档包含对应于导航栏中的项目的页面, 如下所述。
+
+
+
    +
  • +

    概览

    +

    概览 页面是此 API 文档的首页, 提供了所有程序包的列表及其概要。此页面也可能包含这些程序包的总体说明。

    +
  • +
  • +

    程序包

    +

    每个程序包都有一个页面, 其中包含它的类和接口的列表及其概要。此页面可以包含六个类别:

    +
      +
    • 接口 (斜体)
    • +
    • +
    • 枚举
    • +
    • 异常错误
    • +
    • 错误
    • +
    • 注释类型
    • +
    +
  • +
  • +

    类/接口

    +

    每个类, 接口, 嵌套类和嵌套接口都有各自的页面。其中每个页面都由三部分 (类/接口说明, 概要表, 以及详细的成员说明) 组成:

    +
      +
    • 类继承图
    • +
    • 直接子类
    • +
    • 所有已知子接口
    • +
    • 所有已知实现类
    • +
    • 类/接口声明
    • +
    • 类/接口说明
    • +
    +
      +
    • 嵌套类概要
    • +
    • 字段概要
    • +
    • 构造器概要
    • +
    • 方法概要
    • +
    +
      +
    • 字段详细资料
    • +
    • 构造器详细资料
    • +
    • 方法详细资料
    • +
    +

    每个概要条目都包含该项目的详细说明的第一句。概要条目按字母顺序排列, 而详细说明则按其在源代码中出现的顺序排列。这样保持了程序员所建立的逻辑分组。

    +
  • +
  • +

    注释类型

    +

    每个注释类型都有各自的页面, 其中包含以下部分:

    +
      +
    • 注释类型声明
    • +
    • 注释类型说明
    • +
    • 必需元素概要
    • +
    • 可选元素概要
    • +
    • 元素详细资料
    • +
    +
  • +
  • +

    枚举

    +

    每个枚举都有各自的页面, 其中包含以下部分:

    +
      +
    • 枚举声明
    • +
    • 枚举说明
    • +
    • 枚举常量概要
    • +
    • 枚举常量详细资料
    • +
    +
  • +
  • +

    树 (类分层结构)

    +

    对于所有程序包, 有一个类分层结构页面, 以及每个程序包的分层结构。每个分层结构页面都包含类的列表和接口的列表。从java.lang.Object开始, 按继承结构对类进行排列。接口不从java.lang.Object继承。

    +
      +
    • 查看“概览”页面时, 单击 "树" 将显示所有程序包的分层结构。
    • +
    • 查看特定程序包, 类或接口页面时, 单击 "树" 将仅显示该程序包的分层结构。
    • +
    +
  • +
  • +

    已过时的 API

    +

    已过时的 API 页面列出了所有已过时的 API。一般由于进行了改进并且通常提供了替代的 API, 所以建议不要使用已过时的 API。在将来的实现过程中, 可能会删除已过时的 API。

    +
  • +
  • +

    索引

    +

    索引 包含按字母顺序排列的所有类, 接口, 构造器, 方法和字段的列表。

    +
  • +
  • +

    上一个/下一个

    +

    这些链接使您可以转至下一个或上一个类, 接口, 程序包或相关页面。

    +
  • +
  • +

    框架/无框架

    +

    这些链接用于显示和隐藏 HTML 框架。所有页面均具有有框架和无框架两种显示方式。

    +
  • +
  • +

    所有类

    +

    所有类链接显示所有类和接口 (除了非静态嵌套类型)。

    +
  • +
  • +

    序列化表格

    +

    每个可序列化或可外部化的类都有其序列化字段和方法的说明。此信息对重新实现者有用, 而对使用 API 的开发者则没有什么用处。尽管导航栏中没有链接, 但您可以通过下列方式获取此信息: 转至任何序列化类, 然后单击类说明的 "另请参阅" 部分中的 "序列化表格"。

    +
  • +
  • +

    常量字段值

    +

    常量字段值页面列出了静态最终字段及其值。

    +
  • +
+此帮助文件适用于使用标准 doclet 生成的 API 文档。
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-1.html b/docs/v2.0.4/index-files/index-1.html new file mode 100644 index 0000000..729a691 --- /dev/null +++ b/docs/v2.0.4/index-files/index-1.html @@ -0,0 +1,160 @@ + + + + + + +A - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

A

+
+
AbsOperater - com.zhuangfei.timetable.operater中的类
+
+
抽象的业务逻辑 + Created by Liu ZhuangFei on 2018/9/2.
+
+
AbsOperater() - 类 的构造器com.zhuangfei.timetable.operater.AbsOperater
+
 
+
activeDateBackground(int) - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
add(int...) - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
在颜色池中添加一些自定义的颜色
+
+
addAll(Collection<? extends Integer>) - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
将指定集合中的颜色加入到颜色池中
+
+
alpha - 类 中的变量com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
alpha - 类 中的变量com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
alpha(float, float, float) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
透明度设置
+
+
alpha(float) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
将三个透明度统一设置
+
+
alphaColor(int, float) - 类 中的静态方法com.zhuangfei.timetable.utils.ColorUtils
+
+
合成指定颜色、指定不透明度的颜色, + 0:完全透明,1:不透明
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-10.html b/docs/v2.0.4/index-files/index-10.html new file mode 100644 index 0000000..86f040c --- /dev/null +++ b/docs/v2.0.4/index-files/index-10.html @@ -0,0 +1,168 @@ + + + + + + +M - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

M

+
+
marLeft - 类 中的变量com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
marLeft(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置左边距值
+
+
marLeft() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取左边距
+
+
marTop - 类 中的变量com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
marTop(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置上边距值
+
+
marTop() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取上边距
+
+
maxSlideItem(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置最大节次
+
+
maxSlideItem() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取最大节次
+
+
monthWidth - 类 中的变量com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
monthWidth() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取侧边栏宽度px
+
+
monthWidthDp(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置侧边栏宽度dp
+
+
monthWidthPx(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置侧边栏宽度px
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-11.html b/docs/v2.0.4/index-files/index-11.html new file mode 100644 index 0000000..811b5db --- /dev/null +++ b/docs/v2.0.4/index-files/index-11.html @@ -0,0 +1,130 @@ + + + + + + +N - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

N

+
+
newSlideView(LinearLayout) - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
构建侧边栏
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-12.html b/docs/v2.0.4/index-files/index-12.html new file mode 100644 index 0000000..bbeb962 --- /dev/null +++ b/docs/v2.0.4/index-files/index-12.html @@ -0,0 +1,331 @@ + + + + + + +O - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

O

+
+
onBuildDayLayout(LayoutInflater, int, int, int) - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
onBuildMonthLayout(LayoutInflater, int, int) - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
+
构建月份,也就是日期栏的第一格.
+
+
OnDateBuildAapter - com.zhuangfei.timetable.listener中的类
+
+
日期栏的构建过程.
+
+
OnDateBuildAapter() - 类 的构造器com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
onDateBuildListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取日期栏构建监听器
+
+
onDraw(Canvas) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
 
+
onFlaglayoutClick(int, int) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnFlaglayoutClickListener
+
+
当旗标布局被点击时回调
+
+
onFlaglayoutClick(int, int) - 类 中的方法com.zhuangfei.timetable.listener.OnFlaglayoutClickAdapter
+
 
+
OnFlaglayoutClickAdapter - com.zhuangfei.timetable.listener中的类
+
+
Created by Liu ZhuangFei on 2018/8/3.
+
+
OnFlaglayoutClickAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnFlaglayoutClickAdapter
+
 
+
onFlaglayoutClickListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取旗标布局点击监听器
+
+
onHighLight() - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnDateBuildListener
+
+
为日期栏设置高亮时回调
+
+
onHighLight() - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
onInit(LinearLayout, float) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnDateBuildListener
+
+
初始化方法
+
+
onInit(LinearLayout, float) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnSlideBuildListener
+
+
初始化方法
+
+
onInit(LinearLayout, int, int, int, int, int) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnSpaceItemClickListener
+
+
初始化方法
+
+
onInit(LinearLayout, float) - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
onInit(LinearLayout, float) - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
onInit(LinearLayout, int, int, int, int, int) - 类 中的方法com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
OnItemBuildAdapter - com.zhuangfei.timetable.listener中的类
+
+
Item构建监听器的默认实现.
+
+
OnItemBuildAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnItemBuildAdapter
+
 
+
onItemBuildListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取Item构建监听器
+
+
onItemClick(View, List<Schedule>) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnItemClickListener
+
+
当课程项被点击时回调
+
+
onItemClick(View, List<Schedule>) - 类 中的方法com.zhuangfei.timetable.listener.OnItemClickAdapter
+
 
+
OnItemClickAdapter - com.zhuangfei.timetable.listener中的类
+
+
Item点击的默认实现.
+
+
OnItemClickAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnItemClickAdapter
+
 
+
onItemClickListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取Item点击监听
+
+
OnItemLongClickAdapter - com.zhuangfei.timetable.listener中的类
+
+
Created by Liu ZhuangFei on 2018/8/3.
+
+
OnItemLongClickAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnItemLongClickAdapter
+
 
+
onItemLongClickListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取课程项长按监听器
+
+
onItemUpdate(FrameLayout, TextView, TextView, Schedule, GradientDrawable) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnItemBuildListener
+
+
课程项构建完成后回调.
+
+
onItemUpdate(FrameLayout, TextView, TextView, Schedule, GradientDrawable) - 类 中的方法com.zhuangfei.timetable.listener.OnItemBuildAdapter
+
 
+
onLongClick(View, int, int) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnItemLongClickListener
+
+
当课程项被点击时回调
+
+
onLongClick(View, int, int) - 类 中的方法com.zhuangfei.timetable.listener.OnItemLongClickAdapter
+
 
+
onPanelClicked(View, float) - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
点击panel时的事件响应
+
+
OnScrollViewBuildAdapter - com.zhuangfei.timetable.listener中的类
+
+
滚动布局构建监听的默认实现
+
+
OnScrollViewBuildAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnScrollViewBuildAdapter
+
 
+
onScrollViewBuildListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取滚动布局构建监听器
+
+
onSizeChanged(int, int, int, int) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
 
+
OnSlideBuildAdapter - com.zhuangfei.timetable.listener中的类
+
+
控件实现的一个可以显示时间的侧边栏适配器 + Created by Liu ZhuangFei on 2018/6/18.
+
+
OnSlideBuildAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
onSlideBuildListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取侧边栏构建监听
+
+
onSpaceItemClick(int, int) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnSpaceItemClickListener
+
+
当课程项被点击时回调
+
+
onSpaceItemClick(int, int) - 类 中的方法com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
OnSpaceItemClickAdapter - com.zhuangfei.timetable.listener中的类
+
+
Created by Liu ZhuangFei on 2018/8/3.
+
+
OnSpaceItemClickAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
onSpaceItemClickListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取空白格子点击监听器
+
+
onUpdateDate(int, int) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnDateBuildListener
+
+
更新日期时回调
+
+
onUpdateDate(int, int) - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
onWeekChanged(int) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnWeekChangedListener
+
+
当周次被改变时回调
+
+
onWeekChanged(int) - 类 中的方法com.zhuangfei.timetable.listener.OnWeekChangedAdapter
+
 
+
OnWeekChangedAdapter - com.zhuangfei.timetable.listener中的类
+
 
+
OnWeekChangedAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnWeekChangedAdapter
+
 
+
onWeekChangedListener() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取周次改变监听器
+
+
onWeekClicked(int) - 接口 中的方法com.zhuangfei.timetable.listener.IWeekView.OnWeekItemClickedListener
+
+
当Item被点击时回调
+
+
onWeekClicked(int) - 类 中的方法com.zhuangfei.timetable.listener.OnWeekItemClickedAdapter
+
 
+
OnWeekItemClickedAdapter - com.zhuangfei.timetable.listener中的类
+
+
WeekView的Item点击监听默认实现
+
+
OnWeekItemClickedAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnWeekItemClickedAdapter
+
 
+
onWeekItemClickedListener() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
获取Item点击监听
+
+
onWeekLeftClicked() - 接口 中的方法com.zhuangfei.timetable.listener.IWeekView.OnWeekLeftClickedListener
+
+
当"设置当前周"按钮被点击时回调
+
+
onWeekLeftClicked() - 类 中的方法com.zhuangfei.timetable.listener.OnWeekLeftClickedAdapter
+
 
+
OnWeekLeftClickedAdapter - com.zhuangfei.timetable.listener中的类
+
+
WeekView的左侧按钮点击监听默认实现
+
+
OnWeekLeftClickedAdapter() - 类 的构造器com.zhuangfei.timetable.listener.OnWeekLeftClickedAdapter
+
 
+
onWeekLeftClickedListener() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
获取左侧按钮点击监听
+
+
operater() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
 
+
operater(AbsOperater) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
 
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-13.html b/docs/v2.0.4/index-files/index-13.html new file mode 100644 index 0000000..549b71a --- /dev/null +++ b/docs/v2.0.4/index-files/index-13.html @@ -0,0 +1,140 @@ + + + + + + +P - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

P

+
+
PerWeekView - com.zhuangfei.timetable.view中的类
+
+
周次选择栏的每项自定义View,表示某周的有课情况.
+
+
PerWeekView(Context) - 类 的构造器com.zhuangfei.timetable.view.PerWeekView
+
 
+
PerWeekView(Context, AttributeSet) - 类 的构造器com.zhuangfei.timetable.view.PerWeekView
+
 
+
putExtras(String, Object) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
px2dip(Context, float) - 类 中的静态方法com.zhuangfei.timetable.utils.ScreenUtils
+
+
px转换为dp
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-14.html b/docs/v2.0.4/index-files/index-14.html new file mode 100644 index 0000000..a583ba9 --- /dev/null +++ b/docs/v2.0.4/index-files/index-14.html @@ -0,0 +1,138 @@ + + + + + + +R - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

R

+
+
reset() - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
重置,先在池子里添加一些默认的课程项颜色
+
+
resetBackground() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
重置背景色
+
+
resetFlagBgcolor() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
重置旗标布局背景色
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-15.html b/docs/v2.0.4/index-files/index-15.html new file mode 100644 index 0000000..7b24173 --- /dev/null +++ b/docs/v2.0.4/index-files/index-15.html @@ -0,0 +1,296 @@ + + + + + + +S - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

S

+
+
Schedule - com.zhuangfei.timetable.model中的类
+
+
课程实体类
+ 1.增加了extras,可以保存一些自己需要的东西
+
+
Schedule(String, String, String, List<Integer>, int, int, int, int) - 类 的构造器com.zhuangfei.timetable.model.Schedule
+
 
+
Schedule() - 类 的构造器com.zhuangfei.timetable.model.Schedule
+
 
+
ScheduleColorPool - com.zhuangfei.timetable.model中的类
+
+
颜色池,管理课程项可挑选的颜色
+
+
ScheduleColorPool(Context) - 类 的构造器com.zhuangfei.timetable.model.ScheduleColorPool
+
 
+
ScheduleEnable - com.zhuangfei.timetable.model中的接口
+
+
该接口定义数据转换的规范, + 用户自定义课程实体类需要实现该接口以及实现其中的转换方法, + 在设置数据源时可以使用自定义的课程实体,但是必须实现该接口
+
+
ScheduleSupport - com.zhuangfei.timetable.model中的类
+
+
课程表的工具包,主要提供几个便捷的方法
+
+
ScheduleSupport() - 类 的构造器com.zhuangfei.timetable.model.ScheduleSupport
+
 
+
ScreenUtils - com.zhuangfei.timetable.utils中的类
+
+
尺寸工具类
+
+
ScreenUtils() - 类 的构造器com.zhuangfei.timetable.utils.ScreenUtils
+
 
+
setBackground(int) - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
setBackground(int) - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
setColorRandom(int) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
setData(List<Schedule>, int) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
设置数据源
+
+
setDay(int) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
setExtras(Map<String, Object>) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
setGrayColor(int) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
设置暗色
+
+
setLightColor(int) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
设置亮色
+
+
setName(String) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
setRadiusInDp(int) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
设置半径Dp
+
+
setRadiusInPx(int) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
设置半径Px
+
+
setRoom(String) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
setSource(List<? extends ScheduleEnable>, int) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
设置数据源
+
+
setStart(int) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
setStep(int) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
setTeacher(String) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
setTextColor(int) - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
+
设置节次文本颜色
+
+
setTextSize(float) - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
+
设置节次文本的大小
+
+
setTimes(String[]) - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
+
设置时刻数组
+
+
setTimeTextColor(int) - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
+
设置节次时间的文本颜色
+
+
setTimeTextSize(float) - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
+
设置节次时间的文本大小
+
+
setUselessColor(int) - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
设置非本周课程颜色
+
+
setWeekendsVisiable(boolean) - 类 中的方法com.zhuangfei.timetable.operater.AbsOperater
+
 
+
setWeekendsVisiable(boolean) - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
设置周末的可见性
+
+
setWeekList(List<Integer>) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
showDateView() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
将日期栏设为可见状态
+
+
showFlaglayout() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
显示旗标布局,立即生效
+
+
showView() - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
初次构建时调用,显示周次选择布局
+
+
showView() - 类 中的方法com.zhuangfei.timetable.operater.AbsOperater
+
 
+
showView() - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
绘制课程表
+
+
showView() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
 
+
showView() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
初次构建时调用,显示周次选择布局
+
+
SimpleOperater - com.zhuangfei.timetable.operater中的类
+
+
课表业务操作者,TimetableView中只涉及属性的设置,方法的具体实现在这里.
+
+
SimpleOperater() - 类 的构造器com.zhuangfei.timetable.operater.SimpleOperater
+
 
+
size() - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
颜色池的大小
+
+
slideAlpha() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取侧边栏透明度
+
+
sortList(List<Schedule>[]) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
按照上课节次排序
+
+
sortList(List<Schedule>) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
 
+
source(List<? extends ScheduleEnable>) - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
设置数据源
+
+
source(List<? extends ScheduleEnable>) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置数据源
+
+
source(List<? extends ScheduleEnable>) - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
设置数据源
+
+
splitSubjectWithDay(List<Schedule>) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
将源数据拆分为数组的七个元素,每个元素为一个集合, + 依次为周一-周日的课程集合
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-16.html b/docs/v2.0.4/index-files/index-16.html new file mode 100644 index 0000000..d244f28 --- /dev/null +++ b/docs/v2.0.4/index-files/index-16.html @@ -0,0 +1,169 @@ + + + + + + +T - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

T

+
+
textColor - 类 中的变量com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
textSize - 类 中的变量com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
textViews - 类 中的变量com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
thisWeekCorner(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置本周课程的弧度
+
+
times - 类 中的变量com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
TimetableView - com.zhuangfei.timetable中的类
+
+
课程表控件,该类主要负责属性的设置,业务逻辑由SimpleOperater处理 + 虽然这个类代码很多,但是都是属性设置,除了属性设置的方法: + TimetableView.showView() + TimetableView.changeWeek(int, boolean) + TimetableView.changeWeekOnly(int) + TimetableView.changeWeekForce(int) + TimetableView.updateView() + TimetableView.updateSlideView() + TimetableView.updateDateView() + TimetableView.updateView() + + 文档参考 https://github.com/zfman/TimetableView/wiki/%E6%9C%80%E6%96%B0%E6%96%87%E6%A1%A3
+
+
TimetableView(Context, AttributeSet) - 类 的构造器com.zhuangfei.timetable.TimetableView
+
+
初始化
+
+
timeTextColor - 类 中的变量com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
timeTextSize - 类 中的变量com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
timeTransfrom(String) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
根据开学时间计算当前周
+
+
transform(List<? extends ScheduleEnable>) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
转换,将自定义类型转换为List
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-17.html b/docs/v2.0.4/index-files/index-17.html new file mode 100644 index 0000000..0af6f49 --- /dev/null +++ b/docs/v2.0.4/index-files/index-17.html @@ -0,0 +1,162 @@ + + + + + + +U - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

U

+
+
updateDateView() - 类 中的方法com.zhuangfei.timetable.operater.AbsOperater
+
 
+
updateDateView() - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
更新日期栏
+
+
updateDateView() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
更新日期栏
+
+
updateFlaglayout() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
更新旗标布局的背景色
+
+
updateSlideView() - 类 中的方法com.zhuangfei.timetable.operater.AbsOperater
+
 
+
updateSlideView() - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
侧边栏更新
+
+
updateSlideView() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
侧边栏更新
+
+
updateView() - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
当前周被改变后可以调用该方式修正一下底部的文本
+
+
updateView() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
等同于showView()
+
+
updateView() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
当前周被改变后可以调用该方式修正一下底部的文本
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-18.html b/docs/v2.0.4/index-files/index-18.html new file mode 100644 index 0000000..b263d97 --- /dev/null +++ b/docs/v2.0.4/index-files/index-18.html @@ -0,0 +1,142 @@ + + + + + + +W - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

W

+
+
weekDates - 类 中的变量com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
WeekView - com.zhuangfei.timetable.view中的类
+
+
周次选择栏自定义View.
+
+
WeekView(Context) - 类 的构造器com.zhuangfei.timetable.view.WeekView
+
 
+
WeekView(Context, AttributeSet) - 类 的构造器com.zhuangfei.timetable.view.WeekView
+
 
+
WeekViewEnable<T> - com.zhuangfei.timetable.model中的接口
+
+
如果需要自定义周次选择栏,请实现该接口, + 它仅仅提供一个规范,可用可不用 + Created by Liu ZhuangFei on 2018/7/28.
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-2.html b/docs/v2.0.4/index-files/index-2.html new file mode 100644 index 0000000..afd999e --- /dev/null +++ b/docs/v2.0.4/index-files/index-2.html @@ -0,0 +1,130 @@ + + + + + + +B - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

B

+
+
background - 类 中的变量com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
background - 类 中的变量com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-3.html b/docs/v2.0.4/index-files/index-3.html new file mode 100644 index 0000000..c3b38a0 --- /dev/null +++ b/docs/v2.0.4/index-files/index-3.html @@ -0,0 +1,272 @@ + + + + + + +C - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

C

+
+
callback(ISchedule.OnItemLongClickListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置课程项长按监听器
+
+
callback(ISchedule.OnDateBuildListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置日期栏构建监听器
+
+
callback(ISchedule.OnWeekChangedListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置周次改变监听器
+
+
callback(ISchedule.OnScrollViewBuildListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置滚动布局构建监听器
+
+
callback(ISchedule.OnItemBuildListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置课程项构建监听器
+
+
callback(ISchedule.OnItemClickListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置Item点击监听器
+
+
callback(ISchedule.OnSlideBuildListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置侧边栏构建监听器
+
+
callback(ISchedule.OnSpaceItemClickListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置空白格子点击监听器,点击之后会出现一个旗标布局
+
+
callback(ISchedule.OnFlaglayoutClickListener) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置旗标布局点击监听器
+
+
callback(IWeekView.OnWeekItemClickedListener) - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
设置Item点击监听
+
+
callback(IWeekView.OnWeekLeftClickedListener) - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
设置左侧按钮点击监听
+
+
changeWeek(int, boolean) - 类 中的方法com.zhuangfei.timetable.operater.AbsOperater
+
 
+
changeWeek(int, boolean) - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
切换周次
+
+
changeWeek(int, boolean) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
周次切换
+
+
changeWeekForce(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
切换周次且修改为当前周
+
+
changeWeekOnly(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
仅仅切换周次,不修改当前周
+
+
checkPosition(int, int) - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
判断位置是否有课
+
+
clear() - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
清空颜色池,清空默认颜色
+
+
colorPool() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取颜色池
+
+
ColorUtils - com.zhuangfei.timetable.utils中的类
+
+
Created by Liu ZhuangFei on 2018/7/25.
+
+
ColorUtils() - 类 的构造器com.zhuangfei.timetable.utils.ColorUtils
+
 
+
com.zhuangfei.timetable - 程序包 com.zhuangfei.timetable
+
+
TimetableView是课表控件,主要是操作该对象进而完成对属性设置以及对视图的创建、更新
+
+
com.zhuangfei.timetable.listener - 程序包 com.zhuangfei.timetable.listener
+
+
该包中存放接口以及默认的实现类
+
+
com.zhuangfei.timetable.model - 程序包 com.zhuangfei.timetable.model
+
+
该包存放与Schedule有关的模型类
+
+
com.zhuangfei.timetable.operater - 程序包 com.zhuangfei.timetable.operater
+
+
该包存放与ScheduleOperater有关的类
+
+
com.zhuangfei.timetable.utils - 程序包 com.zhuangfei.timetable.utils
+
+
该包存放一些全局的工具方法
+
+
com.zhuangfei.timetable.view - 程序包 com.zhuangfei.timetable.view
+
+
该包存放控件实现的自定义View
+
+
compareTo(Schedule) - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
corner(int, boolean) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
课程角度设置
+
+
corner(boolean) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取课程角度
+
+
cornerAll(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置本周、非本周相同的弧度
+
+
curTerm(String) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置当前学期
+
+
curTerm() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取当前学期
+
+
curWeek(int) - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
设置当前周
+
+
curWeek(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置当前周
+
+
curWeek(String) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置开学时间来计算当前周
+
+
curWeek() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取当前周
+
+
curWeek(int) - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
设置当前周
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-4.html b/docs/v2.0.4/index-files/index-4.html new file mode 100644 index 0000000..83061b6 --- /dev/null +++ b/docs/v2.0.4/index-files/index-4.html @@ -0,0 +1,168 @@ + + + + + + +D - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

D

+
+
data(List<Schedule>) - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
设置数据源
+
+
data(List<Schedule>) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置数据源
+
+
data(List<Schedule>) - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
设置数据源
+
+
dataSource() - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
获取数据源
+
+
dataSource() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取数据源
+
+
dataSource() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
获取数据源
+
+
dateAlpha() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取日期栏透明度
+
+
dateArray - 类 中的变量com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
dip2px(Context, float) - 类 中的静态方法com.zhuangfei.timetable.utils.ScreenUtils
+
+
dp转换为px
+
+
dp2px(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
dp->px
+
+
drawPoint(Canvas, int, int, int, Paint) - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
画点
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-5.html b/docs/v2.0.4/index-files/index-5.html new file mode 100644 index 0000000..11eb973 --- /dev/null +++ b/docs/v2.0.4/index-files/index-5.html @@ -0,0 +1,148 @@ + + + + + + +F - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

F

+
+
findSubjects(Schedule, List<Schedule>) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
在data中查找与subject的start相同的课程集合
+
+
flagBgcolor(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置旗标布局背景颜色
+
+
flagBgcolor() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取旗标布局背景颜色
+
+
flagLayout - 类 中的变量com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
flagLayout() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取旗标布局
+
+
fliterSchedule(List<Schedule>, int, boolean) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
根据当前周过滤课程,获取本周有效的课程(忽略重叠的)
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-6.html b/docs/v2.0.4/index-files/index-6.html new file mode 100644 index 0000000..580d8b6 --- /dev/null +++ b/docs/v2.0.4/index-files/index-6.html @@ -0,0 +1,277 @@ + + + + + + +G - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

G

+
+
getAllSubjectsWithDay(List<Schedule>, int) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
获取某天的所有课程
+
+
getArray() - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
根据此数据源分析出一个二维数组.
+
+
getColor(int) - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
根据索引获取颜色,索引越界默认返回 Color.GRAY
+
+
getColorAuto(int) - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
使用模运算根据索引从颜色池中获取颜色, + 如果i<0,转换为正数, + 否则:重新计算索引j=i mod size
+
+
getColorAutoWithAlpha(int, float) - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
从颜色池中取指定透明度的颜色
+
+
getColorRandom() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getColorReflect(List<Schedule>) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
模拟分配颜色,将源数据的colorRandom属性赋值, + 然后根据该属性值在颜色池中查找颜色即可
+
+
getDataSource() - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
获取数据源
+
+
getDateLayout() - 类 中的方法com.zhuangfei.timetable.operater.AbsOperater
+
 
+
getDateLayout() - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
 
+
getDateStringFromWeek(int, int) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
根据需要算的周数和当前周数计算日期, + 用于周次切换时对日期的更新
+
+
getDateViews(LayoutInflater, float, float, int) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnDateBuildListener
+
+
获取View数组 + 被废弃,自v2.0.3起该方法无效
+
+
getDateViews(LayoutInflater, float, float, int) - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
getDay() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getExtras() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getFlagLayout() - 类 中的方法com.zhuangfei.timetable.operater.AbsOperater
+
 
+
getFlagLayout() - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
获取旗标布局
+
+
getGrayPaint() - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
获取暗色的画笔
+
+
getHaveSubjectsWithDay(List<Schedule>, int, int) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
获取某天有课的课程
+
+
getHeightInDp(Context) - 类 中的静态方法com.zhuangfei.timetable.utils.ScreenUtils
+
+
获取屏幕的高度Dp
+
+
getHeightInPx(Context) - 类 中的静态方法com.zhuangfei.timetable.utils.ScreenUtils
+
+
获取屏幕的高度Px
+
+
getItemText(Schedule, boolean) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnItemBuildListener
+
+
构建课程项的文本时回调.
+
+
getItemText(Schedule, boolean) - 类 中的方法com.zhuangfei.timetable.listener.OnItemBuildAdapter
+
 
+
getLightPaint() - 类 中的方法com.zhuangfei.timetable.view.PerWeekView
+
+
获取亮色的画笔
+
+
getName() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getPerWidth() - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
 
+
getPoolInstance() - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
得到颜色池的实例,即List集合
+
+
getPx(Context, int) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
内部使用的是:context.getResources().getDimensionPixelSize(dp);
+
+
getRoom() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getSchedule() - 接口 中的方法com.zhuangfei.timetable.model.ScheduleEnable
+
+
获取Schedule
+
+
getScrollView(LayoutInflater) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnScrollViewBuildListener
+
+
构建滚动布局时回调
+
+
getScrollView(LayoutInflater) - 类 中的方法com.zhuangfei.timetable.listener.OnScrollViewBuildAdapter
+
 
+
getStart() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getStep() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getStringArray() - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
+
返回一个长度为8的数组,第0个位置为null
+
+
getTeacher() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getTimes() - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
+
获取时刻数组
+
+
getUselessColor() - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
获取非本周课程颜色
+
+
getUselessColorWithAlpha(float) - 类 中的方法com.zhuangfei.timetable.model.ScheduleColorPool
+
+
获取非本周课程颜色
+
+
getView(int, LayoutInflater, int, int) - 接口 中的方法com.zhuangfei.timetable.listener.ISchedule.OnSlideBuildListener
+
+
构建每项
+
+
getView(int, LayoutInflater, int, int) - 类 中的方法com.zhuangfei.timetable.listener.OnSlideBuildAdapter
+
 
+
getWeekDate() - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
获取本周的周一-周日的所有日期
+
+
getWeekList() - 类 中的方法com.zhuangfei.timetable.model.Schedule
+
 
+
getWidthInDp(Context) - 类 中的静态方法com.zhuangfei.timetable.utils.ScreenUtils
+
+
获取屏幕的宽度Dp
+
+
getWidthInPx(Context) - 类 中的静态方法com.zhuangfei.timetable.utils.ScreenUtils
+
+
获取屏幕的宽度Px
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-7.html b/docs/v2.0.4/index-files/index-7.html new file mode 100644 index 0000000..ef30319 --- /dev/null +++ b/docs/v2.0.4/index-files/index-7.html @@ -0,0 +1,138 @@ + + + + + + +H - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

H

+
+
hideDateView() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
将日期栏设为隐藏状态
+
+
hideFlaglayout() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
隐藏旗标布局,立即生效
+
+
hideLeftLayout() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
隐藏左侧设置当前周的控件
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-8.html b/docs/v2.0.4/index-files/index-8.html new file mode 100644 index 0000000..f2f007e --- /dev/null +++ b/docs/v2.0.4/index-files/index-8.html @@ -0,0 +1,276 @@ + + + + + + +I - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

I

+
+
init(Context, AttributeSet, TimetableView) - 类 中的方法com.zhuangfei.timetable.operater.AbsOperater
+
 
+
init(Context, AttributeSet, TimetableView) - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
 
+
initAttr(AttributeSet) - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
获取自定义属性
+
+
initDateBackground() - 类 中的方法com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
initPanel() - 类 中的方法com.zhuangfei.timetable.operater.SimpleOperater
+
+
初始化panel并为panel设置事件监听
+
+
ISchedule - com.zhuangfei.timetable.listener中的接口
+
+
与Schedule有关的接口.
+
+
ISchedule.OnDateBuildListener - com.zhuangfei.timetable.listener中的接口
+
+
日期构造监听器
+
+
ISchedule.OnFlaglayoutClickListener - com.zhuangfei.timetable.listener中的接口
+
+
旗标布局点击监听器
+
+
ISchedule.OnItemBuildListener - com.zhuangfei.timetable.listener中的接口
+
+
课程项构建时回调
+
+
ISchedule.OnItemClickListener - com.zhuangfei.timetable.listener中的接口
+
+
课程项点击监听器
+
+
ISchedule.OnItemLongClickListener - com.zhuangfei.timetable.listener中的接口
+
+
课程项长按事件监听器
+
+
ISchedule.OnScrollViewBuildListener - com.zhuangfei.timetable.listener中的接口
+
+
滚动布局构建监听器
+
+
ISchedule.OnSlideBuildListener - com.zhuangfei.timetable.listener中的接口
+
+
侧边栏构建监听器
+
+
ISchedule.OnSpaceItemClickListener - com.zhuangfei.timetable.listener中的接口
+
+
空白格子点击监听器
+
+
ISchedule.OnWeekChangedListener - com.zhuangfei.timetable.listener中的接口
+
+
周次改变监听器
+
+
isShow(boolean) - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
设置控件的可见性
+
+
isShow(boolean) - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
设置控件的可见性
+
+
isShowFlaglayout() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取是否显示旗标布局
+
+
isShowFlaglayout(boolean) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置是否显示旗标布局
+
+
isShowing() - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
判断该控件是否显示
+
+
isShowing() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
判断该控件是否显示
+
+
isShowNotCurWeek(boolean) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置是否显示非本周课程
+
+
isShowNotCurWeek() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
判断是否显示非本周课程
+
+
isShowWeekends(boolean) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
是否显示周末
+
+
isShowWeekends() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
 
+
isThisWeek(Schedule, int) - 类 中的静态方法com.zhuangfei.timetable.model.ScheduleSupport
+
+
判断该课是否为本周的
+
+
itemAlpha() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取课程项透明度
+
+
itemCount(int) - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
设置项数
+
+
itemCount() - 接口 中的方法com.zhuangfei.timetable.model.WeekViewEnable
+
+
获取项数
+
+
itemCount(int) - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
+
设置项数
+
+
itemCount() - 类 中的方法com.zhuangfei.timetable.view.WeekView
+
 
+
itemHeight - 类 中的变量com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
itemHeight(int) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
设置课程项的高度
+
+
itemHeight() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取课程项的高度
+
+
itemTextColor(int, boolean) - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
课程项文本颜色
+
+
itemTextColorWithNotThis() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取非本周课程项文本颜色
+
+
itemTextColorWithThisWeek() - 类 中的方法com.zhuangfei.timetable.TimetableView
+
+
获取本周课程项文本颜色
+
+
itemWidth - 类 中的变量com.zhuangfei.timetable.listener.OnSpaceItemClickAdapter
+
 
+
IWeekView - com.zhuangfei.timetable.listener中的接口
+
+
WeekView的相关接口.
+
+
IWeekView.OnWeekItemClickedListener - com.zhuangfei.timetable.listener中的接口
+
+
WeekView的Item点击监听器
+
+
IWeekView.OnWeekLeftClickedListener - com.zhuangfei.timetable.listener中的接口
+
+
WeekView的左侧(设置当前周)的点击监听器
+
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index-files/index-9.html b/docs/v2.0.4/index-files/index-9.html new file mode 100644 index 0000000..c482b36 --- /dev/null +++ b/docs/v2.0.4/index-files/index-9.html @@ -0,0 +1,130 @@ + + + + + + +L - 索引 + + + + + + + + +
+ + + + + + + +
+ + +
A B C D F G H I L M N O P R S T U W  + + +

L

+
+
layout - 类 中的变量com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
layouts - 类 中的变量com.zhuangfei.timetable.listener.OnDateBuildAapter
+
 
+
+A B C D F G H I L M N O P R S T U W 
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/index.html b/docs/v2.0.4/index.html new file mode 100644 index 0000000..0a395d7 --- /dev/null +++ b/docs/v2.0.4/index.html @@ -0,0 +1,76 @@ + + + + + + +生成的文档 (无标题) + + + + + + + + + +<noscript> +<div>您的浏览器已禁用 JavaScript。</div> +</noscript> +<h2>框架预警</h2> +<p>请使用框架功能查看此文档。如果看到此消息, 则表明您使用的是不支持框架的 Web 客户机。链接到<a href="overview-summary.html">非框架版本</a>。</p> + + + diff --git a/docs/v2.0.4/overview-frame.html b/docs/v2.0.4/overview-frame.html new file mode 100644 index 0000000..64c236e --- /dev/null +++ b/docs/v2.0.4/overview-frame.html @@ -0,0 +1,27 @@ + + + + + + +概览列表 + + + + + + + +

 

+ + diff --git a/docs/v2.0.4/overview-summary.html b/docs/v2.0.4/overview-summary.html new file mode 100644 index 0000000..7ed352c --- /dev/null +++ b/docs/v2.0.4/overview-summary.html @@ -0,0 +1,166 @@ + + + + + + +概览 + + + + + + + + +
+ + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
程序包 
程序包说明
com.zhuangfei.timetable +
TimetableView是课表控件,主要是操作该对象进而完成对属性设置以及对视图的创建、更新
+
com.zhuangfei.timetable.listener +
该包中存放接口以及默认的实现类
+
com.zhuangfei.timetable.model +
该包存放与Schedule有关的模型类
+
com.zhuangfei.timetable.operater +
该包存放与ScheduleOperater有关的类
+
com.zhuangfei.timetable.utils +
该包存放一些全局的工具方法
+
com.zhuangfei.timetable.view +
该包存放控件实现的自定义View
+
+
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/overview-tree.html b/docs/v2.0.4/overview-tree.html new file mode 100644 index 0000000..b523eb6 --- /dev/null +++ b/docs/v2.0.4/overview-tree.html @@ -0,0 +1,194 @@ + + + + + + +类分层结构 + + + + + + + + +
+ + + + + + + +
+ + + +
+

类分层结构

+ +

接口分层结构

+ +
+ +
+ + + + + + + +
+ + + + diff --git a/docs/v2.0.4/package-list b/docs/v2.0.4/package-list new file mode 100644 index 0000000..b7936b6 --- /dev/null +++ b/docs/v2.0.4/package-list @@ -0,0 +1,6 @@ +com.zhuangfei.timetable +com.zhuangfei.timetable.listener +com.zhuangfei.timetable.model +com.zhuangfei.timetable.operater +com.zhuangfei.timetable.utils +com.zhuangfei.timetable.view diff --git a/docs/v2.0.4/script.js b/docs/v2.0.4/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/docs/v2.0.4/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/v2.0.4/serialized-form.html b/docs/v2.0.4/serialized-form.html new file mode 100644 index 0000000..ace3a46 --- /dev/null +++ b/docs/v2.0.4/serialized-form.html @@ -0,0 +1,188 @@ + + + + + + +序列化表格 + + + + + + + + + + + +
+

序列化表格

+
+
+
    +
  • +

    程序包 com.zhuangfei.timetable.model

    +
      +
    • + + +

      com.zhuangfei.timetable.model.Schedule扩展java.lang.Object实现可序列化

      +
        +
      • +

        序列化字段

        +
          +
        • +

          name

          +
          java.lang.String name
          +
          课程名
          +
        • +
        • +

          room

          +
          java.lang.String room
          +
          教室
          +
        • +
        • +

          teacher

          +
          java.lang.String teacher
          +
          教师
          +
        • +
        • +

          weekList

          +
          java.util.List<E> weekList
          +
          第几周至第几周上
          +
        • +
        • +

          start

          +
          int start
          +
          开始上课的节次
          +
        • +
        • +

          step

          +
          int step
          +
          上课节数
          +
        • +
        • +

          day

          +
          int day
          +
          周几上
          +
        • +
        • +

          colorRandom

          +
          int colorRandom
          +
          一个随机数,用于对应课程的颜色
          +
        • +
        • +

          extras

          +
          java.util.Map<K,V> extras
          +
          额外信息
          +
        • +
        +
      • +
      +
    • +
    +
  • +
+
+ + + + + + diff --git a/docs/v2.0.4/stylesheet.css b/docs/v2.0.4/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/docs/v2.0.4/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +}